#[non_exhaustive]pub struct ExecutionStatus {
pub update_time: Option<Timestamp>,
pub latest_job: Option<Job>,
/* private fields */
}Expand description
Status of the task execution (e.g. Jobs).
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.update_time: Option<Timestamp>Output only. Last update time of the status.
latest_job: Option<Job>Output only. latest job execution
Implementations§
Source§impl ExecutionStatus
impl ExecutionStatus
pub fn new() -> Self
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_latest_job<T>(self, v: T) -> Self
pub fn set_latest_job<T>(self, v: T) -> Self
Sets the value of latest_job.
Sourcepub fn set_or_clear_latest_job<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_latest_job<T>(self, v: Option<T>) -> Self
Sets or clears the value of latest_job.
Trait Implementations§
Source§impl Clone for ExecutionStatus
impl Clone for ExecutionStatus
Source§fn clone(&self) -> ExecutionStatus
fn clone(&self) -> ExecutionStatus
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 ExecutionStatus
impl Debug for ExecutionStatus
Source§impl Default for ExecutionStatus
impl Default for ExecutionStatus
Source§fn default() -> ExecutionStatus
fn default() -> ExecutionStatus
Returns the “default value” for a type. Read more
Source§impl Message for ExecutionStatus
impl Message for ExecutionStatus
Source§impl PartialEq for ExecutionStatus
impl PartialEq for ExecutionStatus
impl StructuralPartialEq for ExecutionStatus
Auto Trait Implementations§
impl Freeze for ExecutionStatus
impl RefUnwindSafe for ExecutionStatus
impl Send for ExecutionStatus
impl Sync for ExecutionStatus
impl Unpin for ExecutionStatus
impl UnwindSafe for ExecutionStatus
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