pub struct ThreadBackgroundTerminal {
pub command: String,
pub cpu_percent: Option<f64>,
pub cwd: AbsolutePathBuf,
pub item_id: String,
pub os_pid: Option<u32>,
pub process_id: String,
pub rss_kb: Option<u64>,
}Expand description
ThreadBackgroundTerminal
JSON schema
{
"type": "object",
"required": [
"command",
"cwd",
"itemId",
"processId"
],
"properties": {
"command": {
"type": "string"
},
"cpuPercent": {
"type": [
"number",
"null"
],
"format": "double"
},
"cwd": {
"$ref": "#/definitions/AbsolutePathBuf"
},
"itemId": {
"type": "string"
},
"osPid": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"processId": {
"type": "string"
},
"rssKb": {
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
}
}
}Fields§
§command: String§cpu_percent: Option<f64>§cwd: AbsolutePathBuf§item_id: String§os_pid: Option<u32>§process_id: String§rss_kb: Option<u64>Trait Implementations§
Source§impl Clone for ThreadBackgroundTerminal
impl Clone for ThreadBackgroundTerminal
Source§fn clone(&self) -> ThreadBackgroundTerminal
fn clone(&self) -> ThreadBackgroundTerminal
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 ThreadBackgroundTerminal
impl Debug for ThreadBackgroundTerminal
Source§impl<'de> Deserialize<'de> for ThreadBackgroundTerminal
impl<'de> Deserialize<'de> for ThreadBackgroundTerminal
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 ThreadBackgroundTerminal
impl RefUnwindSafe for ThreadBackgroundTerminal
impl Send for ThreadBackgroundTerminal
impl Sync for ThreadBackgroundTerminal
impl Unpin for ThreadBackgroundTerminal
impl UnsafeUnpin for ThreadBackgroundTerminal
impl UnwindSafe for ThreadBackgroundTerminal
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