pub struct State {
pub error: String,
pub exit_code: u64,
pub finished_at: DateTime<Utc>,
pub oom_killed: bool,
pub paused: bool,
pub pid: u64,
pub restarting: bool,
pub running: bool,
pub started_at: DateTime<Utc>,
pub status: String,
}
Fields§
§error: String
§exit_code: u64
§finished_at: DateTime<Utc>
§oom_killed: bool
§paused: bool
§pid: u64
§restarting: bool
§running: bool
§started_at: DateTime<Utc>
§status: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
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 State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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