iota_grpc_types/proto/generated/
iota.grpc.v1.object.rs

1// Copyright (c) Mysten Labs, Inc.
2// Modifications Copyright (c) 2025 IOTA Stiftung
3// SPDX-License-Identifier: Apache-2.0
4
5// This file is @generated by prost-build.
6/// An object on the IOTA blockchain.
7#[non_exhaustive]
8#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
9pub struct Object {
10    /// Reference to this object.
11    #[prost(message, optional, tag = "1")]
12    pub reference: ::core::option::Option<super::types::ObjectReference>,
13    /// This Object serialized as BCS.
14    #[prost(message, optional, tag = "2")]
15    pub bcs: ::core::option::Option<super::bcs::BcsData>,
16}
17/// A list of objects.
18#[non_exhaustive]
19#[derive(Clone, PartialEq, ::prost::Message)]
20pub struct Objects {
21    #[prost(message, repeated, tag = "1")]
22    pub objects: ::prost::alloc::vec::Vec<Object>,
23}