pub struct SessionSection {
pub scope: Option<String>,
}Expand description
Session-level configuration.
Fields§
§scope: Option<String>Session scope: “ephemeral” or “persistent”.
Trait Implementations§
Source§impl Clone for SessionSection
impl Clone for SessionSection
Source§fn clone(&self) -> SessionSection
fn clone(&self) -> SessionSection
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 SessionSection
impl Debug for SessionSection
Source§impl Default for SessionSection
impl Default for SessionSection
Source§fn default() -> SessionSection
fn default() -> SessionSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSectionwhere
SessionSection: Default,
impl<'de> Deserialize<'de> for SessionSectionwhere
SessionSection: Default,
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 SessionSection
impl RefUnwindSafe for SessionSection
impl Send for SessionSection
impl Sync for SessionSection
impl Unpin for SessionSection
impl UnsafeUnpin for SessionSection
impl UnwindSafe for SessionSection
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