pub struct EmbeddedRosterChainEntry {
pub version: u64,
pub did: String,
pub verification_methods: Vec<VerificationMethod>,
pub signed_at: u64,
pub signed_by_signer_in_prior_roster: String,
pub signer_kid: String,
}Expand description
One entry in the wallet-signed roster chain. Each entry is signed by a verification method present in the prior entry’s roster.
Fields§
§version: u64Monotonically increasing across the chain. genesis is version 1; the first chain entry is version 2.
did: StringThe DID this roster belongs to.
verification_methods: Vec<VerificationMethod>Verification methods after this mutation.
signed_at: u64When this mutation was signed, Unix seconds.
signed_by_signer_in_prior_roster: StringSignature by a verification method present in the PRIOR roster.
base64url-encoded r || s (64 bytes total).
signer_kid: StringThe kid of the verification method in the prior roster that
produced this signature. Lets the verifier skip a scan.
Trait Implementations§
Source§impl Clone for EmbeddedRosterChainEntry
impl Clone for EmbeddedRosterChainEntry
Source§fn clone(&self) -> EmbeddedRosterChainEntry
fn clone(&self) -> EmbeddedRosterChainEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbeddedRosterChainEntry
impl Debug for EmbeddedRosterChainEntry
Source§impl<'de> Deserialize<'de> for EmbeddedRosterChainEntry
impl<'de> Deserialize<'de> for EmbeddedRosterChainEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmbeddedRosterChainEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmbeddedRosterChainEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for EmbeddedRosterChainEntry
impl Serialize for EmbeddedRosterChainEntry
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,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for EmbeddedRosterChainEntry
impl RefUnwindSafe for EmbeddedRosterChainEntry
impl Send for EmbeddedRosterChainEntry
impl Sync for EmbeddedRosterChainEntry
impl Unpin for EmbeddedRosterChainEntry
impl UnsafeUnpin for EmbeddedRosterChainEntry
impl UnwindSafe for EmbeddedRosterChainEntry
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