pub struct SessionPolicyDef {
pub mode: Option<SessionMode>,
pub command: CommandPolicyDef,
}Fields§
§mode: Option<SessionMode>§command: CommandPolicyDefTrait Implementations§
Source§impl Clone for SessionPolicyDef
impl Clone for SessionPolicyDef
Source§fn clone(&self) -> SessionPolicyDef
fn clone(&self) -> SessionPolicyDef
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionPolicyDef
impl Debug for SessionPolicyDef
Source§impl<'de> Deserialize<'de> for SessionPolicyDef
impl<'de> Deserialize<'de> for SessionPolicyDef
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 SessionPolicyDef
impl RefUnwindSafe for SessionPolicyDef
impl Send for SessionPolicyDef
impl Sync for SessionPolicyDef
impl Unpin for SessionPolicyDef
impl UnsafeUnpin for SessionPolicyDef
impl UnwindSafe for SessionPolicyDef
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