pub struct TaskEvent {Show 25 fields
pub start_delay: i64,
pub restart_reason: String,
pub signal: i64,
pub kill_timeout: TimeDelta,
pub validation_error: String,
pub disk_size: i64,
pub task_signal_reason: String,
pub generic_source: String,
pub message: String,
pub setup_error: String,
pub details: HashMap<String, String>,
pub driver_message: String,
pub download_error: String,
pub disk_limit: i64,
pub failed_sibling: String,
pub task_signal: String,
pub type: String,
pub time: i64,
pub driver_error: String,
pub exit_code: i64,
pub kill_reason: String,
pub kill_error: String,
pub vault_error: String,
pub display_message: String,
pub fails_task: bool,
}
Expand description
TaskEvent is an event that effects the state of a task and contains meta-data appropriate to the events type.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§start_delay: i64
§restart_reason: String
§signal: i64
§kill_timeout: TimeDelta
§validation_error: String
§disk_size: i64
§task_signal_reason: String
§generic_source: String
§message: String
§setup_error: String
§details: HashMap<String, String>
§driver_message: String
§download_error: String
§disk_limit: i64
§failed_sibling: String
§task_signal: String
§type: String
§time: i64
§driver_error: String
§exit_code: i64
§kill_reason: String
§kill_error: String
§vault_error: String
§display_message: String
§fails_task: bool
DEPRECATION NOTICE: The following fields are all deprecated. see TaskEvent struct in structs.go for details.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskEvent
impl<'de> Deserialize<'de> for TaskEvent
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
impl StructuralPartialEq for TaskEvent
Auto Trait Implementations§
impl Freeze for TaskEvent
impl RefUnwindSafe for TaskEvent
impl Send for TaskEvent
impl Sync for TaskEvent
impl Unpin for TaskEvent
impl UnwindSafe for TaskEvent
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