pub struct TaskEvent {Show 25 fields
pub restart_reason: String,
pub kill_error: String,
pub disk_limit: i64,
pub disk_size: i64,
pub display_message: String,
pub setup_error: String,
pub driver_error: String,
pub kill_reason: String,
pub vault_error: String,
pub generic_source: String,
pub type: String,
pub fails_task: bool,
pub download_error: String,
pub validation_error: String,
pub failed_sibling: String,
pub task_signal_reason: String,
pub message: String,
pub details: HashMap<String, String>,
pub driver_message: String,
pub exit_code: i64,
pub signal: i64,
pub kill_timeout: TimeDelta,
pub start_delay: i64,
pub task_signal: String,
pub time: i64,
}
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.
Fields§
§restart_reason: String
§kill_error: String
§disk_limit: i64
§disk_size: i64
§display_message: String
§setup_error: String
§driver_error: String
§kill_reason: String
§vault_error: String
§generic_source: String
§type: String
§fails_task: bool
DEPRECATION NOTICE: The following fields are all deprecated. see TaskEvent struct in structs.go for details.
download_error: String
§validation_error: String
§failed_sibling: String
§task_signal_reason: String
§message: String
§details: HashMap<String, String>
§driver_message: String
§exit_code: i64
§signal: i64
§kill_timeout: TimeDelta
§start_delay: i64
§task_signal: String
§time: i64
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