pub struct StatusCheck {
pub ok: bool,
pub reason: &'static str,
pub detail: &'static str,
}Expand description
The outcome of check_credential_status.
Fields§
§ok: boolTrue when the credential may be accepted on status grounds: it has no status entry, or every entry was checked and none is set.
reason: &'static strOne of STATUS_OK, STATUS_NONE, STATUS_REVOKED,
STATUS_SUSPENDED or STATUS_UNAVAILABLE.
detail: &'static strA short fixed explanation for logs (never a fetched body).
Trait Implementations§
Source§impl Clone for StatusCheck
impl Clone for StatusCheck
impl Copy for StatusCheck
Source§impl Debug for StatusCheck
impl Debug for StatusCheck
impl Eq for StatusCheck
Source§impl PartialEq for StatusCheck
impl PartialEq for StatusCheck
impl StructuralPartialEq for StatusCheck
Auto Trait Implementations§
impl Forget for StatusCheck
impl Freeze for StatusCheck
impl Move for StatusCheck
impl RefUnwindSafe for StatusCheck
impl Send for StatusCheck
impl Sync for StatusCheck
impl Unpin for StatusCheck
impl UnsafeUnpin for StatusCheckwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for StatusCheckwhere
&'static str: UnwindSafe,
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.