pub struct KeyStateRecord {Show 17 fields
pub vn: Vec<u8>,
pub i: String,
pub s: String,
pub p: String,
pub d: String,
pub f: String,
pub dt: String,
pub et: String,
pub kt: String,
pub k: Vec<String>,
pub nt: String,
pub n: Vec<String>,
pub bt: String,
pub b: Vec<String>,
pub c: Vec<String>,
pub ee: StateEERecord,
pub di: String,
}Expand description
Key State information keyed by Identifier Prefix of associated KEL. For local AIDs that correspond to Habs this is the Hab AID.
Fields§
§vn: Vec<u8>Version number [major, minor]
i: StringIdentifier prefix qb64
s: StringSequence number of latest event in KEL as hex str
p: StringPrior event digest qb64
d: StringLatest event digest qb64
f: StringFirst seen ordinal number of latest event in KEL as hex str
dt: StringDatetime iso-8601 of key state record update, usually now
et: StringLatest event packet type (ilk)
kt: StringSigning threshold sith
k: Vec<String>Signing keys qb64
nt: StringNext prerotated threshold sith
n: Vec<String>Pre-rotation keys qb64
bt: StringBacker threshold hex num
b: Vec<String>Backer aids qb64
c: Vec<String>Config traits
ee: StateEERecordEstablishment event record
di: StringDelegator aid qb64 or empty str if not delegated
Implementations§
Trait Implementations§
Source§impl Clone for KeyStateRecord
impl Clone for KeyStateRecord
Source§fn clone(&self) -> KeyStateRecord
fn clone(&self) -> KeyStateRecord
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 KeyStateRecord
impl Debug for KeyStateRecord
Source§impl Default for KeyStateRecord
impl Default for KeyStateRecord
Source§impl<'de> Deserialize<'de> for KeyStateRecord
impl<'de> Deserialize<'de> for KeyStateRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KeyStateRecord
Source§impl PartialEq for KeyStateRecord
impl PartialEq for KeyStateRecord
Source§impl Serialize for KeyStateRecord
impl Serialize for KeyStateRecord
impl StructuralPartialEq for KeyStateRecord
Auto Trait Implementations§
impl Freeze for KeyStateRecord
impl RefUnwindSafe for KeyStateRecord
impl Send for KeyStateRecord
impl Sync for KeyStateRecord
impl Unpin for KeyStateRecord
impl UnsafeUnpin for KeyStateRecord
impl UnwindSafe for KeyStateRecord
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.