pub struct ShellSession {
pub id: String,
pub workstream_id: String,
pub tmux_window: u32,
pub status: ShellStatus,
pub started_at: u64,
pub exited_at: Option<u64>,
pub exit_code: Option<i32>,
}Fields§
§id: String§workstream_id: String§tmux_window: u32tmux window index that hosts this shell
status: ShellStatus§started_at: u64§exited_at: Option<u64>§exit_code: Option<i32>Trait Implementations§
Source§impl Clone for ShellSession
impl Clone for ShellSession
Source§fn clone(&self) -> ShellSession
fn clone(&self) -> ShellSession
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 ShellSession
impl Debug for ShellSession
Source§impl<'de> Deserialize<'de> for ShellSession
impl<'de> Deserialize<'de> for ShellSession
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 ShellSession
impl RefUnwindSafe for ShellSession
impl Send for ShellSession
impl Sync for ShellSession
impl Unpin for ShellSession
impl UnsafeUnpin for ShellSession
impl UnwindSafe for ShellSession
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