Enum kanidmd_lib::value::IntentTokenState
source · pub enum IntentTokenState {
Valid {
max_ttl: Duration,
},
InProgress {
max_ttl: Duration,
session_id: Uuid,
session_ttl: Duration,
},
Consumed {
max_ttl: Duration,
},
}
Variants§
Trait Implementations§
source§impl Clone for IntentTokenState
impl Clone for IntentTokenState
source§fn clone(&self) -> IntentTokenState
fn clone(&self) -> IntentTokenState
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 IntentTokenState
impl Debug for IntentTokenState
source§impl PartialEq<IntentTokenState> for IntentTokenState
impl PartialEq<IntentTokenState> for IntentTokenState
source§fn eq(&self, other: &IntentTokenState) -> bool
fn eq(&self, other: &IntentTokenState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.