pub struct TaskResourceProperties {
pub resource_base_properties: ResourceBaseProperties,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub last_polled_at: Option<String>,
pub state: Option<String>,
pub phase: Option<String>,
pub reason: Option<String>,
pub metadata: Option<Value>,
}
Expand description
Task properties.
Fields§
§resource_base_properties: ResourceBaseProperties
§started_at: Option<String>
The time the task started
completed_at: Option<String>
The time the task completed
last_polled_at: Option<String>
The last time the task was polled
state: Option<String>
the state the task is in
phase: Option<String>
the phase the task is in
reason: Option<String>
The reason the task was moved into its current state, if the task wasn’t completed.
metadata: Option<Value>
The reason the task was moved into its current state, if the task wasn’t completed.
Implementations§
Trait Implementations§
source§impl Clone for TaskResourceProperties
impl Clone for TaskResourceProperties
source§fn clone(&self) -> TaskResourceProperties
fn clone(&self) -> TaskResourceProperties
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 TaskResourceProperties
impl Debug for TaskResourceProperties
source§impl Default for TaskResourceProperties
impl Default for TaskResourceProperties
source§fn default() -> TaskResourceProperties
fn default() -> TaskResourceProperties
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskResourceProperties
impl<'de> Deserialize<'de> for TaskResourceProperties
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 PartialEq for TaskResourceProperties
impl PartialEq for TaskResourceProperties
source§fn eq(&self, other: &TaskResourceProperties) -> bool
fn eq(&self, other: &TaskResourceProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskResourceProperties
impl Serialize for TaskResourceProperties
impl StructuralPartialEq for TaskResourceProperties
Auto Trait Implementations§
impl Freeze for TaskResourceProperties
impl RefUnwindSafe for TaskResourceProperties
impl Send for TaskResourceProperties
impl Sync for TaskResourceProperties
impl Unpin for TaskResourceProperties
impl UnwindSafe for TaskResourceProperties
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