pub struct Process {
pub key: String,
pub created_at: NaiveDateTime,
pub updated_at: NaiveDateTime,
pub name: String,
pub kind: ProcessKind,
pub node_name: String,
pub kind_key: String,
pub data: ContainerInspectResponse,
}Expand description
Represents a process (Vm, Job, Cargo)
Fields§
§key: StringThe key of the process
created_at: NaiveDateTimeThe created at date
updated_at: NaiveDateTimeLast time the instance was updated
name: StringName of the process
kind: ProcessKindKind of the process (Job, Vm, Cargo)
node_name: StringName of the node where the container is running
kind_key: StringKey of the related kind
data: ContainerInspectResponseThe data of the process a ContainerInspect
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Process
impl<'de> Deserialize<'de> for Process
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 Process
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnsafeUnpin for Process
impl UnwindSafe for Process
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