iota_grpc_types/proto/generated/
iota.grpc.v1.signatures.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/// A signature from a user.
7#[non_exhaustive]
8#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
9pub struct UserSignature {
10    /// This signature serialized as as BCS.
11    ///
12    /// When provided as input this will support both the form that is length
13    /// prefixed as well as not length prefixed.
14    #[prost(message, optional, tag = "1")]
15    pub bcs: ::core::option::Option<super::bcs::BcsData>,
16}
17/// A list of user signatures.
18#[non_exhaustive]
19#[derive(Clone, PartialEq, ::prost::Message)]
20pub struct UserSignatures {
21    #[prost(message, repeated, tag = "1")]
22    pub signatures: ::prost::alloc::vec::Vec<UserSignature>,
23}
24/// / An aggregated signature from multiple validators.
25#[non_exhaustive]
26#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
27pub struct ValidatorAggregatedSignature {
28    #[prost(message, optional, tag = "1")]
29    pub bcs: ::core::option::Option<super::bcs::BcsData>,
30}