Skip to main content

RotEventInit

Struct RotEventInit 

Source
pub struct RotEventInit {
Show 14 fields pub v: VersionString, pub d: Said, pub i: Prefix, pub s: KeriSequence, pub p: Said, pub kt: Threshold, pub k: Vec<CesrKey>, pub nt: Threshold, pub n: Vec<Said>, pub bt: Threshold, pub br: Vec<Prefix>, pub ba: Vec<Prefix>, pub c: Vec<ConfigTrait>, pub a: Vec<Seal>,
}
Expand description

Parameter struct for RotEvent::new. See IcpEventInit for the pattern rationale.

Fields§

§v: VersionString

Version string (KERI10JSON…); a placeholder until finalized.

§d: Said

Self-addressing identifier (the event SAID); blank until finalized.

§i: Prefix

Identifier prefix of the rotating identity.

§s: KeriSequence

Sequence number (strictly greater than the prior event’s).

§p: Said

Prior event SAID (the back-link establishing the chain).

§kt: Threshold

Signing threshold over the new current keys k.

§k: Vec<CesrKey>

New current signing keys (CESR-encoded verkeys) revealed by this rotation.

§nt: Threshold

Next-key threshold over the new pre-rotation commitments n.

§n: Vec<Said>

New pre-rotation commitments (digests of the next keys).

§bt: Threshold

Backer (witness) threshold after applying the backer deltas.

§br: Vec<Prefix>

Backer (witness) prefixes to remove.

§ba: Vec<Prefix>

Backer (witness) prefixes to add.

§c: Vec<ConfigTrait>

Configuration traits (e.g. RB/NRB) updated by this rotation.

§a: Vec<Seal>

Anchored seals carried in this event’s a[].

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.