pub struct CertificateMetadataMessagePart {
    pub network: String,
    pub protocol_version: ProtocolVersion,
    pub protocol_parameters: ProtocolParameters,
    pub initiated_at: DateTime<Utc>,
    pub sealed_at: DateTime<Utc>,
    pub signers: Vec<StakeDistributionParty>,
}Expand description
CertificateMetadata represents the metadata associated to a Certificate
Fields§
§network: StringCardano network part of METADATA(p,n)
protocol_version: ProtocolVersionProtocol Version (semver) Useful to achieve backward compatibility of the certificates (including of the multi signature) part of METADATA(p,n)
protocol_parameters: ProtocolParametersProtocol parameters part of METADATA(p,n)
initiated_at: DateTime<Utc>Date and time when the certificate was initiated Represents the time at which the single signatures registration is opened part of METADATA(p,n)
sealed_at: DateTime<Utc>Date and time when the certificate was sealed Represents the time at which the quorum of single signatures was reached so that they were aggregated into a multi signature part of METADATA(p,n)
signers: Vec<StakeDistributionParty>The list of the active signers with their stakes and verification keys part of METADATA(p,n)
Trait Implementations§
Source§impl Clone for CertificateMetadataMessagePart
 
impl Clone for CertificateMetadataMessagePart
Source§fn clone(&self) -> CertificateMetadataMessagePart
 
fn clone(&self) -> CertificateMetadataMessagePart
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for CertificateMetadataMessagePart
 
impl<'de> Deserialize<'de> for CertificateMetadataMessagePart
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>,
Source§impl Dummy for CertificateMetadataMessagePart
 
impl Dummy for CertificateMetadataMessagePart
Source§fn dummy() -> Self
 
fn dummy() -> Self
Return a dummy CertificateMetadataMessagePart (test-only).
Source§impl PartialEq for CertificateMetadataMessagePart
 
impl PartialEq for CertificateMetadataMessagePart
Source§fn eq(&self, other: &CertificateMetadataMessagePart) -> bool
 
fn eq(&self, other: &CertificateMetadataMessagePart) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CertificateMetadataMessagePart
Auto Trait Implementations§
impl Freeze for CertificateMetadataMessagePart
impl RefUnwindSafe for CertificateMetadataMessagePart
impl Send for CertificateMetadataMessagePart
impl Sync for CertificateMetadataMessagePart
impl Unpin for CertificateMetadataMessagePart
impl UnwindSafe for CertificateMetadataMessagePart
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
Source§impl<T> CheckedAs for T
 
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
    T: CheckedCast<Dst>,
 
fn checked_as<Dst>(self) -> Option<Dst>where
    T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
    Src: CheckedCast<Dst>,
 
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
    Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
 
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more