pub struct MithrilCertificateMetadata {
pub network: String,
pub protocol_version: String,
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: String
Cardano network part of METADATA(p,n)
protocol_version: String
Protocol Version (semver) Useful to achieve backward compatibility of the certificates (including of the multi signature) part of METADATA(p,n)
protocol_parameters: ProtocolParameters
Protocol 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<CertificateMetadataMessagePart, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CertificateMetadataMessagePart, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Dummy for CertificateMetadataMessagePart
impl Dummy for CertificateMetadataMessagePart
Source§fn dummy() -> CertificateMetadataMessagePart
fn dummy() -> CertificateMetadataMessagePart
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 ==
.Source§impl Serialize for CertificateMetadataMessagePart
impl Serialize for CertificateMetadataMessagePart
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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