pub enum SessionTtl {
Minutes15,
Minutes30,
Minutes45,
Minutes60,
Minutes120,
Minutes240,
}Expand description
The only session TTLs accepted by Silicon Browser.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SessionTtl
impl Clone for SessionTtl
Source§fn clone(&self) -> SessionTtl
fn clone(&self) -> SessionTtl
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 SessionTtl
Source§impl Debug for SessionTtl
impl Debug for SessionTtl
Source§impl<'de> Deserialize<'de> for SessionTtl
impl<'de> Deserialize<'de> for SessionTtl
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 Display for SessionTtl
impl Display for SessionTtl
impl Eq for SessionTtl
Source§impl FromStr for SessionTtl
impl FromStr for SessionTtl
Source§impl Hash for SessionTtl
impl Hash for SessionTtl
Source§impl PartialEq for SessionTtl
impl PartialEq for SessionTtl
Source§impl Serialize for SessionTtl
impl Serialize for SessionTtl
impl StructuralPartialEq for SessionTtl
Auto Trait Implementations§
impl Freeze for SessionTtl
impl RefUnwindSafe for SessionTtl
impl Send for SessionTtl
impl Sync for SessionTtl
impl Unpin for SessionTtl
impl UnsafeUnpin for SessionTtl
impl UnwindSafe for SessionTtl
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