pub struct KeriRotEvent {}Expand description
Rotation event — rotates to pre-committed key.
Spec field order: [v, t, d, i, s, p, kt, k, nt, n, bt, br, ba, a]
Fields§
§v: VersionStringVersion string
d: SaidSAID of this event
i: PrefixIdentifier prefix
s: KeriSequenceSequence number (increments with each event)
p: SaidPrevious event SAID (creates the hash chain)
kt: ThresholdKey signing threshold
k: Vec<CesrKey>New current key(s), CESR-encoded
nt: ThresholdNext key signing threshold
n: Vec<Said>New next key commitment(s) — Blake3 digests
bt: ThresholdWitness/backer threshold
br: Vec<Prefix>List of backers to remove (processed first)
ba: Vec<Prefix>List of backers to add (processed after removals)
c: Vec<ConfigTrait>Configuration traits
a: Vec<Seal>Anchored seals
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RotEvent
impl<'de> Deserialize<'de> for RotEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RotEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RotEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RotEvent
Source§impl Serialize for RotEvent
Spec field order: v, t, d, i, s, p, kt, k, nt, n, bt, br, ba, a
impl Serialize for RotEvent
Spec field order: v, t, d, i, s, p, kt, k, nt, n, bt, br, ba, a
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
impl StructuralPartialEq for RotEvent
Auto Trait Implementations§
impl Freeze for RotEvent
impl RefUnwindSafe for RotEvent
impl Send for RotEvent
impl Sync for RotEvent
impl Unpin for RotEvent
impl UnsafeUnpin for RotEvent
impl UnwindSafe for RotEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.