pub struct Pty {
pub id: String,
pub title: String,
pub command: String,
pub args: Vec<String>,
pub cwd: String,
pub status: PtyStatus,
pub pid: f64,
}Expand description
A pseudo-terminal (PTY) descriptor.
Fields§
§id: StringPTY identifier.
title: StringPTY title.
command: StringCommand being run.
args: Vec<String>Command arguments.
cwd: StringWorking directory.
status: PtyStatusPTY status.
pid: f64Process ID.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pty
impl<'de> Deserialize<'de> for Pty
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
impl StructuralPartialEq for Pty
Auto Trait Implementations§
impl Freeze for Pty
impl RefUnwindSafe for Pty
impl Send for Pty
impl Sync for Pty
impl Unpin for Pty
impl UnwindSafe for Pty
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