#[non_exhaustive]pub struct DeleteVolumeForkRequest {
pub force: Option<bool>,
pub volume_type: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.force: Option<bool>§volume_type: Option<String>Implementations§
Source§impl DeleteVolumeForkRequest
impl DeleteVolumeForkRequest
Sourcepub fn with_force(self, value: bool) -> Self
pub fn with_force(self, value: bool) -> Self
Sets force.
Sourcepub fn with_volume_type(self, value: impl Into<String>) -> Self
pub fn with_volume_type(self, value: impl Into<String>) -> Self
Sets volume_type.
Trait Implementations§
Source§impl Clone for DeleteVolumeForkRequest
impl Clone for DeleteVolumeForkRequest
Source§impl Debug for DeleteVolumeForkRequest
impl Debug for DeleteVolumeForkRequest
Source§impl Default for DeleteVolumeForkRequest
impl Default for DeleteVolumeForkRequest
Auto Trait Implementations§
impl Freeze for DeleteVolumeForkRequest
impl RefUnwindSafe for DeleteVolumeForkRequest
impl Send for DeleteVolumeForkRequest
impl Sync for DeleteVolumeForkRequest
impl Unpin for DeleteVolumeForkRequest
impl UnsafeUnpin for DeleteVolumeForkRequest
impl UnwindSafe for DeleteVolumeForkRequest
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