pub struct PubLot {
pub pubs: Vec<String>,
pub ridx: usize,
pub kidx: usize,
pub dt: String,
}Expand description
Public key list with indexes and datetime created
Fields§
§pubs: Vec<String>List of fully qualified Base64 public keys
ridx: usizeRotation index of set of public keys at establishment event Index of key set at inception event is 0
kidx: usizeKey index of starting key in key set in sequence wrt to all public keys Example if each set has 3 keys then ridx 2 has kidx of 2*3 = 6
dt: StringDatetime in ISO8601 format of when key set was first created
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PubLot
impl<'de> Deserialize<'de> for PubLot
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
Source§impl IntoIterator for PubLot
impl IntoIterator for PubLot
impl StructuralPartialEq for PubLot
Auto Trait Implementations§
impl Freeze for PubLot
impl RefUnwindSafe for PubLot
impl Send for PubLot
impl Sync for PubLot
impl Unpin for PubLot
impl UnsafeUnpin for PubLot
impl UnwindSafe for PubLot
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