pub struct KeriIcpEvent {
pub v: VersionString,
pub d: Said,
pub i: Prefix,
pub s: KeriSequence,
pub kt: Threshold,
pub k: Vec<CesrKey>,
pub nt: Threshold,
pub n: Vec<Said>,
pub bt: Threshold,
pub b: Vec<Prefix>,
pub c: Vec<ConfigTrait>,
pub a: Vec<Seal>,
}Expand description
Inception event — creates a new KERI identity.
The inception event establishes the identifier prefix and commits
to the first rotation key via the n (next) field.
Spec field order: [v, t, d, i, s, kt, k, nt, n, bt, b, c, a]
Fields§
§v: VersionStringVersion string
d: SaidSAID (Self-Addressing Identifier) — Blake3 hash of event
i: PrefixIdentifier prefix (same as d for self-addressing inception)
s: KeriSequenceSequence number (always 0 for inception)
kt: ThresholdKey signing threshold (hex integer or fractional weight list)
k: Vec<CesrKey>Current public key(s), CESR-encoded
nt: ThresholdNext key signing threshold
n: Vec<Said>Next key commitment(s) — Blake3 digests of next public key(s)
bt: ThresholdWitness/backer threshold
b: Vec<Prefix>Witness/backer list (ordered AIDs)
c: Vec<ConfigTrait>Configuration traits (e.g., EstablishmentOnly, DoNotDelegate)
a: Vec<Seal>Anchored seals
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IcpEvent
impl<'de> Deserialize<'de> for IcpEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IcpEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IcpEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for IcpEvent
Source§impl Serialize for IcpEvent
Spec field order: v, t, d, i, s, kt, k, nt, n, bt, b, c, a
impl Serialize for IcpEvent
Spec field order: v, t, d, i, s, kt, k, nt, n, bt, b, c, 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,
impl StructuralPartialEq for IcpEvent
Auto Trait Implementations§
impl Freeze for IcpEvent
impl RefUnwindSafe for IcpEvent
impl Send for IcpEvent
impl Sync for IcpEvent
impl Unpin for IcpEvent
impl UnsafeUnpin for IcpEvent
impl UnwindSafe for IcpEvent
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> 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
key and return true if they are equal.