pub struct RevocationBody {
pub source: ClaimRef,
pub revoked_at: u64,
pub revoker: Authority,
pub proof: RevocationProof,
pub reason_code: Option<RevocationReasonCode>,
}Expand description
CDDL §6.5 revocation body.
Fields§
§source: ClaimRefSource Claim being revoked.
revoked_at: u64POSIX-epoch revocation time.
revoker: AuthorityAuthority issuing the revocation.
proof: RevocationProofMode-specific revocation evidence.
reason_code: Option<RevocationReasonCode>Optional RFC 5280 §5.3.1 reason code.
Trait Implementations§
Source§impl Clone for RevocationBody
impl Clone for RevocationBody
Source§fn clone(&self) -> RevocationBody
fn clone(&self) -> RevocationBody
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 RevocationBody
impl Debug for RevocationBody
Source§impl<'de> Deserialize<'de> for RevocationBody
impl<'de> Deserialize<'de> for RevocationBody
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 PartialEq for RevocationBody
impl PartialEq for RevocationBody
Source§fn eq(&self, other: &RevocationBody) -> bool
fn eq(&self, other: &RevocationBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationBody
impl Serialize for RevocationBody
impl Eq for RevocationBody
impl StructuralPartialEq for RevocationBody
Auto Trait Implementations§
impl Freeze for RevocationBody
impl RefUnwindSafe for RevocationBody
impl Send for RevocationBody
impl Sync for RevocationBody
impl Unpin for RevocationBody
impl UnsafeUnpin for RevocationBody
impl UnwindSafe for RevocationBody
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