pub struct ProcessSession {
pub id: Uuid,
pub sandbox_id: Uuid,
pub shell: String,
pub working_directory: String,
pub environment: HashMap<String, String>,
pub created_at: DateTime<Utc>,
pub last_activity_at: DateTime<Utc>,
pub state: SessionState,
pub rows: u16,
pub cols: u16,
}Expand description
Process session
Fields§
§id: Uuid§sandbox_id: Uuid§shell: String§working_directory: String§environment: HashMap<String, String>§created_at: DateTime<Utc>§last_activity_at: DateTime<Utc>§state: SessionState§rows: u16§cols: u16Trait Implementations§
Source§impl Clone for ProcessSession
impl Clone for ProcessSession
Source§fn clone(&self) -> ProcessSession
fn clone(&self) -> ProcessSession
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 ProcessSession
impl Debug for ProcessSession
Source§impl<'de> Deserialize<'de> for ProcessSession
impl<'de> Deserialize<'de> for ProcessSession
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 ProcessSession
impl RefUnwindSafe for ProcessSession
impl Send for ProcessSession
impl Sync for ProcessSession
impl Unpin for ProcessSession
impl UnsafeUnpin for ProcessSession
impl UnwindSafe for ProcessSession
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