pub struct AllocationTaskState {
pub state: String,
pub failed: bool,
pub restarts: u64,
pub last_restart: Option<String>,
pub start_at: Option<String>,
pub finish_at: Option<String>,
pub events: Option<Vec<AllocationTaskEvent>>,
}Fields§
§state: String§failed: bool§restarts: u64§last_restart: Option<String>§start_at: Option<String>§finish_at: Option<String>§events: Option<Vec<AllocationTaskEvent>>Trait Implementations§
Source§impl Clone for AllocationTaskState
impl Clone for AllocationTaskState
Source§impl Debug for AllocationTaskState
impl Debug for AllocationTaskState
Source§impl<'de> Deserialize<'de> for AllocationTaskState
impl<'de> Deserialize<'de> for AllocationTaskState
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 AllocationTaskState
impl RefUnwindSafe for AllocationTaskState
impl Send for AllocationTaskState
impl Sync for AllocationTaskState
impl Unpin for AllocationTaskState
impl UnsafeUnpin for AllocationTaskState
impl UnwindSafe for AllocationTaskState
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