pub struct Sessions {
pub sessions: Vec<Session>,
pub inactive_session_ttl_days: i32,
}
Expand description
Contains a list of sessions
Fields§
§sessions: Vec<Session>
List of sessions
inactive_session_ttl_days: i32
Number of days of inactivity before sessions will automatically be terminated; 1-366 days
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sessions
impl<'de> Deserialize<'de> for Sessions
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
impl StructuralPartialEq for Sessions
Auto Trait Implementations§
impl Freeze for Sessions
impl RefUnwindSafe for Sessions
impl Send for Sessions
impl Sync for Sessions
impl Unpin for Sessions
impl UnwindSafe for Sessions
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