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