pub struct TaskAttemptResult {
pub exit_code: Option<i32>,
pub status: Option<GoogleRpcStatus>,
pub term_signal: Option<i32>,
}Expand description
Result of a task attempt.
This type is not used in any activity, and only used as part of another schema.
Fields§
§exit_code: Option<i32>Optional. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details. At most one of exit_code or term_signal will be set.
status: Option<GoogleRpcStatus>Optional. The status of this attempt. If the status code is OK, then the attempt succeeded.
term_signal: Option<i32>Optional. Termination signal of the container. This is set to non-zero if the container is terminated by the system. At most one of exit_code or term_signal will be set.
Trait Implementations§
Source§impl Clone for TaskAttemptResult
impl Clone for TaskAttemptResult
Source§fn clone(&self) -> TaskAttemptResult
fn clone(&self) -> TaskAttemptResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskAttemptResult
impl Debug for TaskAttemptResult
Source§impl Default for TaskAttemptResult
impl Default for TaskAttemptResult
Source§fn default() -> TaskAttemptResult
fn default() -> TaskAttemptResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskAttemptResult
impl<'de> Deserialize<'de> for TaskAttemptResult
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
Source§impl Serialize for TaskAttemptResult
impl Serialize for TaskAttemptResult
impl Part for TaskAttemptResult
Auto Trait Implementations§
impl Freeze for TaskAttemptResult
impl RefUnwindSafe for TaskAttemptResult
impl Send for TaskAttemptResult
impl Sync for TaskAttemptResult
impl Unpin for TaskAttemptResult
impl UnwindSafe for TaskAttemptResult
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