pub struct SessionContextConfig {
pub context_days: u64,
pub since: Option<String>,
}Fields§
§context_days: u64§since: Option<String>Trait Implementations§
Source§impl Clone for SessionContextConfig
impl Clone for SessionContextConfig
Source§fn clone(&self) -> SessionContextConfig
fn clone(&self) -> SessionContextConfig
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 moreSource§impl Debug for SessionContextConfig
impl Debug for SessionContextConfig
Source§impl Default for SessionContextConfig
impl Default for SessionContextConfig
Source§fn default() -> SessionContextConfig
fn default() -> SessionContextConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionContextConfig
impl<'de> Deserialize<'de> for SessionContextConfig
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
Auto Trait Implementations§
impl Freeze for SessionContextConfig
impl RefUnwindSafe for SessionContextConfig
impl Send for SessionContextConfig
impl Sync for SessionContextConfig
impl Unpin for SessionContextConfig
impl UnsafeUnpin for SessionContextConfig
impl UnwindSafe for SessionContextConfig
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