pub struct RevocationList {
pub version: String,
pub issuer: Aid,
pub published_at: Timestamp,
pub expires_at: Timestamp,
pub entries: Vec<RevocationEntry>,
}Expand description
Inner body of a signed revocation snapshot.
Fields§
§version: StringMUST be "aitp/0.2".
issuer: AidThe issuing peer’s AID. MUST equal the issuer of every TCT
covered by entries.
published_at: TimestampUnix timestamp when this snapshot was signed.
expires_at: TimestampUnix timestamp after which this snapshot MUST NOT be cached.
entries: Vec<RevocationEntry>Revoked-entry records. MAY be empty.
Trait Implementations§
Source§impl Clone for RevocationList
impl Clone for RevocationList
Source§fn clone(&self) -> RevocationList
fn clone(&self) -> RevocationList
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 RevocationList
impl Debug for RevocationList
Source§impl<'de> Deserialize<'de> for RevocationList
impl<'de> Deserialize<'de> for RevocationList
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 RevocationList
Source§impl PartialEq for RevocationList
impl PartialEq for RevocationList
Source§fn eq(&self, other: &RevocationList) -> bool
fn eq(&self, other: &RevocationList) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationList
impl Serialize for RevocationList
impl StructuralPartialEq for RevocationList
Auto Trait Implementations§
impl Freeze for RevocationList
impl RefUnwindSafe for RevocationList
impl Send for RevocationList
impl Sync for RevocationList
impl Unpin for RevocationList
impl UnsafeUnpin for RevocationList
impl UnwindSafe for RevocationList
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.