pub struct SessionContract {
pub namespace: String,
pub max_concurrent_sessions: u32,
pub max_idle_millis: u64,
pub reset_on_plan_change: bool,
}Fields§
§namespace: String§max_concurrent_sessions: u32§max_idle_millis: u64§reset_on_plan_change: boolTrait Implementations§
Source§impl Clone for SessionContract
impl Clone for SessionContract
Source§fn clone(&self) -> SessionContract
fn clone(&self) -> SessionContract
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 SessionContract
impl Debug for SessionContract
Source§impl<'de> Deserialize<'de> for SessionContract
impl<'de> Deserialize<'de> for SessionContract
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 Eq for SessionContract
Source§impl PartialEq for SessionContract
impl PartialEq for SessionContract
Source§impl Serialize for SessionContract
impl Serialize for SessionContract
impl StructuralPartialEq for SessionContract
Auto Trait Implementations§
impl Freeze for SessionContract
impl RefUnwindSafe for SessionContract
impl Send for SessionContract
impl Sync for SessionContract
impl Unpin for SessionContract
impl UnsafeUnpin for SessionContract
impl UnwindSafe for SessionContract
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