pub struct TypesProcessState {Show 14 fields
pub age: Option<i64>,
pub cpu: Option<f64>,
pub exit_code: Option<i64>,
pub is_elevated: Option<bool>,
pub is_ready: Option<String>,
pub is_running: Option<bool>,
pub mem: Option<i64>,
pub name: Option<String>,
pub namespace: Option<String>,
pub password_provided: Option<bool>,
pub pid: Option<i64>,
pub restarts: Option<i64>,
pub status: Option<String>,
pub system_time: Option<String>,
}Expand description
TypesProcessState
JSON schema
{
"type": "object",
"properties": {
"age": {
"type": "integer"
},
"cpu": {
"type": "number"
},
"exit_code": {
"type": "integer"
},
"isRunning": {
"type": "boolean"
},
"is_elevated": {
"type": "boolean"
},
"is_ready": {
"type": "string"
},
"mem": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password_provided": {
"type": "boolean"
},
"pid": {
"type": "integer"
},
"restarts": {
"type": "integer"
},
"status": {
"type": "string"
},
"system_time": {
"type": "string"
}
}
}Fields§
§age: Option<i64>§cpu: Option<f64>§exit_code: Option<i64>§is_elevated: Option<bool>§is_ready: Option<String>§is_running: Option<bool>§mem: Option<i64>§name: Option<String>§namespace: Option<String>§password_provided: Option<bool>§pid: Option<i64>§restarts: Option<i64>§status: Option<String>§system_time: Option<String>Trait Implementations§
source§impl Clone for TypesProcessState
impl Clone for TypesProcessState
source§fn clone(&self) -> TypesProcessState
fn clone(&self) -> TypesProcessState
Returns a copy 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 TypesProcessState
impl Debug for TypesProcessState
source§impl<'de> Deserialize<'de> for TypesProcessState
impl<'de> Deserialize<'de> for TypesProcessState
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
source§impl From<&TypesProcessState> for TypesProcessState
impl From<&TypesProcessState> for TypesProcessState
source§fn from(value: &TypesProcessState) -> Self
fn from(value: &TypesProcessState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypesProcessState
impl RefUnwindSafe for TypesProcessState
impl Send for TypesProcessState
impl Sync for TypesProcessState
impl Unpin for TypesProcessState
impl UnwindSafe for TypesProcessState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)