pub struct VolumeUpdateTask {
pub comment: Option<String>,
pub completion_date: Option<String>,
pub progress: Option<i32>,
pub start_date: Option<String>,
pub state: Option<String>,
pub tags: Option<Vec<ResourceTag>>,
pub task_id: Option<String>,
pub volume_id: Option<String>,
pub volume_update: Option<Box<VolumeUpdate>>,
}Expand description
VolumeUpdateTask : Information about the volume update task.
Fields§
§comment: Option<String>If the update volume task fails, an error message appears.
completion_date: Option<String>The date at which the volume update task was marked as completed.
progress: Option<i32>The progress of the volume update task, as a percentage.
start_date: Option<String>The creation date of the volume update task.
state: Option<String>The state of the volume (pending \| active \| completed \| failed \| canceled).
One or more tags associated with the volume update task.
task_id: Option<String>The ID of the volume update task in progress. Otherwise, it is not returned.
volume_id: Option<String>The ID of the updated volume.
volume_update: Option<Box<VolumeUpdate>>Implementations§
Source§impl VolumeUpdateTask
impl VolumeUpdateTask
Sourcepub fn new() -> VolumeUpdateTask
pub fn new() -> VolumeUpdateTask
Information about the volume update task.
Trait Implementations§
Source§impl Clone for VolumeUpdateTask
impl Clone for VolumeUpdateTask
Source§fn clone(&self) -> VolumeUpdateTask
fn clone(&self) -> VolumeUpdateTask
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 VolumeUpdateTask
impl Debug for VolumeUpdateTask
Source§impl Default for VolumeUpdateTask
impl Default for VolumeUpdateTask
Source§fn default() -> VolumeUpdateTask
fn default() -> VolumeUpdateTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeUpdateTask
impl<'de> Deserialize<'de> for VolumeUpdateTask
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 VolumeUpdateTask
impl PartialEq for VolumeUpdateTask
Source§impl Serialize for VolumeUpdateTask
impl Serialize for VolumeUpdateTask
impl StructuralPartialEq for VolumeUpdateTask
Auto Trait Implementations§
impl Freeze for VolumeUpdateTask
impl RefUnwindSafe for VolumeUpdateTask
impl Send for VolumeUpdateTask
impl Sync for VolumeUpdateTask
impl Unpin for VolumeUpdateTask
impl UnsafeUnpin for VolumeUpdateTask
impl UnwindSafe for VolumeUpdateTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.