pub enum OAuthSessionDecision {
Reject,
Admit {
session_lifetime_ms: i64,
effective_expires_at_ms: i64,
},
}Expand description
Session state selected after token validation.
Variants§
Trait Implementations§
Source§impl Clone for OAuthSessionDecision
impl Clone for OAuthSessionDecision
Source§fn clone(&self) -> OAuthSessionDecision
fn clone(&self) -> OAuthSessionDecision
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 moreimpl Copy for OAuthSessionDecision
Source§impl Debug for OAuthSessionDecision
impl Debug for OAuthSessionDecision
impl Eq for OAuthSessionDecision
Source§impl PartialEq for OAuthSessionDecision
impl PartialEq for OAuthSessionDecision
impl StructuralPartialEq for OAuthSessionDecision
Auto Trait Implementations§
impl Freeze for OAuthSessionDecision
impl RefUnwindSafe for OAuthSessionDecision
impl Send for OAuthSessionDecision
impl Sync for OAuthSessionDecision
impl Unpin for OAuthSessionDecision
impl UnsafeUnpin for OAuthSessionDecision
impl UnwindSafe for OAuthSessionDecision
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