Enum northstar_runtime::api::model::VerificationResult
source · pub enum VerificationResult {
Ok,
Invalid,
Expired,
Future,
}Expand description
Token verification result
Variants§
Ok
Verification succeeded
Invalid
Verification failed
Expired
Token is expired
Future
Token time is in the future
Trait Implementations§
source§impl Clone for VerificationResult
impl Clone for VerificationResult
source§fn clone(&self) -> VerificationResult
fn clone(&self) -> VerificationResult
Returns a copy of the value. Read more
1.0.0 · 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 VerificationResult
impl Debug for VerificationResult
source§impl<'de> Deserialize<'de> for VerificationResult
impl<'de> Deserialize<'de> for VerificationResult
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<VerificationResult> for VerificationResult
impl PartialEq<VerificationResult> for VerificationResult
source§fn eq(&self, other: &VerificationResult) -> bool
fn eq(&self, other: &VerificationResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for VerificationResult
impl Serialize for VerificationResult
impl Eq for VerificationResult
impl StructuralEq for VerificationResult
impl StructuralPartialEq for VerificationResult
Auto Trait Implementations§
impl RefUnwindSafe for VerificationResult
impl Send for VerificationResult
impl Sync for VerificationResult
impl Unpin for VerificationResult
impl UnwindSafe for VerificationResult
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.