pub struct SessionHandle {
pub pid: u32,
pub username: String,
pub command: Vec<String>,
pub auth_session_id: Option<String>,
}Expand description
Serializable/minimal session handle.
Fields§
§pid: u32§username: String§command: Vec<String>§auth_session_id: Option<String>Trait Implementations§
Source§impl Clone for SessionHandle
impl Clone for SessionHandle
Source§fn clone(&self) -> SessionHandle
fn clone(&self) -> SessionHandle
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 SessionHandle
impl Debug for SessionHandle
Source§impl PartialEq for SessionHandle
impl PartialEq for SessionHandle
Source§fn eq(&self, other: &SessionHandle) -> bool
fn eq(&self, other: &SessionHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionHandle
impl StructuralPartialEq for SessionHandle
Auto Trait Implementations§
impl Freeze for SessionHandle
impl RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl UnsafeUnpin for SessionHandle
impl UnwindSafe for SessionHandle
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