pub struct CloudSnapshotOperation {
pub id: String,
pub kind: CloudSnapshotKind,
pub status: CloudSnapshotOperationStatus,
pub result: Option<CloudSnapshot>,
pub error: Option<CloudErrorDetails>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
Wire shape of the asynchronous snapshot operation returned by snapshot capture endpoints.
Fields§
§id: StringServer-side operation identifier.
kind: CloudSnapshotKindKind of snapshot being captured.
status: CloudSnapshotOperationStatusCurrent operation status.
result: Option<CloudSnapshot>The resulting snapshot, present once the operation succeeds.
error: Option<CloudErrorDetails>Error details for a failed operation.
created_at: DateTime<Utc>Creation timestamp.
updated_at: DateTime<Utc>Timestamp of the most recent status change.
completed_at: Option<DateTime<Utc>>Timestamp of the terminal status, when the operation has finished.
Trait Implementations§
Source§impl Clone for CloudSnapshotOperation
impl Clone for CloudSnapshotOperation
Source§fn clone(&self) -> CloudSnapshotOperation
fn clone(&self) -> CloudSnapshotOperation
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 moreSource§impl Debug for CloudSnapshotOperation
impl Debug for CloudSnapshotOperation
Source§impl<'de> Deserialize<'de> for CloudSnapshotOperation
impl<'de> Deserialize<'de> for CloudSnapshotOperation
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
Auto Trait Implementations§
impl Freeze for CloudSnapshotOperation
impl RefUnwindSafe for CloudSnapshotOperation
impl Send for CloudSnapshotOperation
impl Sync for CloudSnapshotOperation
impl Unpin for CloudSnapshotOperation
impl UnsafeUnpin for CloudSnapshotOperation
impl UnwindSafe for CloudSnapshotOperation
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