#[non_exhaustive]pub struct TaskAttemptResult {
pub status: Option<Status>,
pub exit_code: i32,
/* private fields */
}Expand description
Result of a task attempt.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: Option<Status>Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.
exit_code: i32Output only. 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.
Implementations§
Trait Implementations§
Source§impl Clone for TaskAttemptResult
impl Clone for TaskAttemptResult
Source§fn clone(&self) -> TaskAttemptResult
fn clone(&self) -> TaskAttemptResult
Returns a copy 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 TaskAttemptResultwhere
TaskAttemptResult: Default,
impl<'de> Deserialize<'de> for TaskAttemptResultwhere
TaskAttemptResult: Default,
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 Message for TaskAttemptResult
impl Message for TaskAttemptResult
Source§impl PartialEq for TaskAttemptResult
impl PartialEq for TaskAttemptResult
Source§impl Serialize for TaskAttemptResult
impl Serialize for TaskAttemptResult
impl StructuralPartialEq 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