pub struct TaskStatus {
pub attempt_dispatch_count: Option<i32>,
pub attempt_response_count: Option<i32>,
pub first_attempt_status: Option<AttemptStatus>,
pub last_attempt_status: Option<AttemptStatus>,
}Expand description
Status of the task.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attempt_dispatch_count: Option<i32>Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven’t received a response.
attempt_response_count: Option<i32>Output only. The number of attempts which have received a response. This field is not calculated for pull tasks.
first_attempt_status: Option<AttemptStatus>Output only. The status of the task’s first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
last_attempt_status: Option<AttemptStatus>Output only. The status of the task’s last attempt. This field is not calculated for pull tasks.
Trait Implementations§
Source§impl Clone for TaskStatus
impl Clone for TaskStatus
Source§fn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
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 TaskStatus
impl Debug for TaskStatus
Source§impl Default for TaskStatus
impl Default for TaskStatus
Source§fn default() -> TaskStatus
fn default() -> TaskStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskStatus
impl<'de> Deserialize<'de> for TaskStatus
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 TaskStatus
impl Serialize for TaskStatus
impl Part for TaskStatus
Auto Trait Implementations§
impl Freeze for TaskStatus
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
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