pub struct CertificateListItemMessageMetadata {
pub network: String,
pub version: String,
pub parameters: ProtocolParameters,
pub initiated_at: String,
pub sealed_at: String,
pub total_signers: i64,
}Expand description
CertificateListItemMessageMetadata : CertificateListItemMessageMetadata represents the metadata associated to a CertificateListItemMessage
Fields§
§network: StringCardano network
version: StringVersion of the protocol
parameters: ProtocolParameters§initiated_at: StringDate and time at which the certificate was initialized and ready to accept single signatures from signers
sealed_at: StringDate and time at which the certificate was sealed (when the quorum of single signatures was reached so that a multi signature could be aggregated from them)
total_signers: i64The number of the signers with their stakes and verification keys
Implementations§
Source§impl CertificateListItemMessageMetadata
impl CertificateListItemMessageMetadata
Sourcepub fn new(
network: String,
version: String,
parameters: ProtocolParameters,
initiated_at: String,
sealed_at: String,
total_signers: i64,
) -> CertificateListItemMessageMetadata
pub fn new( network: String, version: String, parameters: ProtocolParameters, initiated_at: String, sealed_at: String, total_signers: i64, ) -> CertificateListItemMessageMetadata
CertificateListItemMessageMetadata represents the metadata associated to a CertificateListItemMessage
Trait Implementations§
Source§impl Clone for CertificateListItemMessageMetadata
impl Clone for CertificateListItemMessageMetadata
Source§fn clone(&self) -> CertificateListItemMessageMetadata
fn clone(&self) -> CertificateListItemMessageMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CertificateListItemMessageMetadata
impl Default for CertificateListItemMessageMetadata
Source§fn default() -> CertificateListItemMessageMetadata
fn default() -> CertificateListItemMessageMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CertificateListItemMessageMetadata
impl<'de> Deserialize<'de> for CertificateListItemMessageMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CertificateListItemMessageMetadata
impl PartialEq for CertificateListItemMessageMetadata
Source§fn eq(&self, other: &CertificateListItemMessageMetadata) -> bool
fn eq(&self, other: &CertificateListItemMessageMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CertificateListItemMessageMetadata
Auto Trait Implementations§
impl Freeze for CertificateListItemMessageMetadata
impl RefUnwindSafe for CertificateListItemMessageMetadata
impl Send for CertificateListItemMessageMetadata
impl Sync for CertificateListItemMessageMetadata
impl Unpin for CertificateListItemMessageMetadata
impl UnwindSafe for CertificateListItemMessageMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more