pub enum RevocationStatus {
NotRevoked,
RevokedAt(String),
Unknown(String),
}Expand description
Result of resolving a grant’s revocation state.
Variants§
NotRevoked
The source confirms the grant was not revoked.
RevokedAt(String)
The source reports the grant was revoked at this RFC 3339 instant.
Unknown(String)
The source could not be consulted (offline, no resolver configured, unknown path). Carries a human-readable reason.
Trait Implementations§
Source§impl Clone for RevocationStatus
impl Clone for RevocationStatus
Source§fn clone(&self) -> RevocationStatus
fn clone(&self) -> RevocationStatus
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 RevocationStatus
impl Debug for RevocationStatus
impl Eq for RevocationStatus
Source§impl PartialEq for RevocationStatus
impl PartialEq for RevocationStatus
impl StructuralPartialEq for RevocationStatus
Auto Trait Implementations§
impl Freeze for RevocationStatus
impl RefUnwindSafe for RevocationStatus
impl Send for RevocationStatus
impl Sync for RevocationStatus
impl Unpin for RevocationStatus
impl UnsafeUnpin for RevocationStatus
impl UnwindSafe for RevocationStatus
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,
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.