pub struct UpdateVolumeBuilder { /* private fields */ }Expand description
Builder for updating a volume
Implementations§
Source§impl UpdateVolumeBuilder
impl UpdateVolumeBuilder
Sourcepub fn with_new_name(self, new_name: impl Into<Option<String>>) -> Self
pub fn with_new_name(self, new_name: impl Into<Option<String>>) -> Self
New name for the volume.
Sourcepub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
pub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
The comment attached to the volume
Sourcepub fn with_owner(self, owner: impl Into<Option<String>>) -> Self
pub fn with_owner(self, owner: impl Into<Option<String>>) -> Self
The identifier of the user who owns the volume
Trait Implementations§
Source§impl IntoFuture for UpdateVolumeBuilder
impl IntoFuture for UpdateVolumeBuilder
Source§type IntoFuture = Pin<Box<dyn Future<Output = <UpdateVolumeBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <UpdateVolumeBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for UpdateVolumeBuilder
impl !UnwindSafe for UpdateVolumeBuilder
impl Freeze for UpdateVolumeBuilder
impl Send for UpdateVolumeBuilder
impl Sync for UpdateVolumeBuilder
impl Unpin for UpdateVolumeBuilder
impl UnsafeUnpin for UpdateVolumeBuilder
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