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