pub struct AsyncTaskParts<'a> {
pub id: AsyncResourceId<'a>,
pub kind: AsyncResourceText<'a>,
pub status: AsyncResourceStatus,
pub link: Option<AsyncResourceLink<'a>>,
pub message: Option<AsyncResourceText<'a>>,
pub created_at: AsyncResourceTimestamp<'a>,
pub updated_at: AsyncResourceTimestamp<'a>,
pub started_at: Option<AsyncResourceTimestamp<'a>>,
pub finished_at: Option<AsyncResourceTimestamp<'a>>,
pub progress: &'a [AsyncProgressStep<'a>],
pub errors: &'a [AsyncTaskError<'a>],
}Expand description
Complete borrowed fields used to validate one task snapshot.
Fields§
§id: AsyncResourceId<'a>Opaque task identifier.
kind: AsyncResourceText<'a>Provider task type.
status: AsyncResourceStatusCurrent normalized status.
link: Option<AsyncResourceLink<'a>>Optional related-resource link. This is metadata, not an executable target.
message: Option<AsyncResourceText<'a>>Optional provider task description.
created_at: AsyncResourceTimestamp<'a>Creation timestamp.
updated_at: AsyncResourceTimestamp<'a>Last-update timestamp.
started_at: Option<AsyncResourceTimestamp<'a>>Optional start timestamp.
finished_at: Option<AsyncResourceTimestamp<'a>>Optional terminal timestamp.
progress: &'a [AsyncProgressStep<'a>]Borrowed bounded progress collection.
errors: &'a [AsyncTaskError<'a>]Borrowed bounded provider errors.
Trait Implementations§
Source§impl<'a> Clone for AsyncTaskParts<'a>
impl<'a> Clone for AsyncTaskParts<'a>
Source§fn clone(&self) -> AsyncTaskParts<'a>
fn clone(&self) -> AsyncTaskParts<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for AsyncTaskParts<'a>
Auto Trait Implementations§
impl<'a> Freeze for AsyncTaskParts<'a>
impl<'a> RefUnwindSafe for AsyncTaskParts<'a>
impl<'a> Send for AsyncTaskParts<'a>
impl<'a> Sync for AsyncTaskParts<'a>
impl<'a> Unpin for AsyncTaskParts<'a>
impl<'a> UnsafeUnpin for AsyncTaskParts<'a>
impl<'a> UnwindSafe for AsyncTaskParts<'a>
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