#[non_exhaustive]pub struct CancelStorageDrainRequest {
pub force: Option<bool>,
}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>Implementations§
Source§impl CancelStorageDrainRequest
impl CancelStorageDrainRequest
Sourcepub fn with_force(self, value: bool) -> Self
pub fn with_force(self, value: bool) -> Self
Sets force.
Trait Implementations§
Source§impl Clone for CancelStorageDrainRequest
impl Clone for CancelStorageDrainRequest
Source§impl Debug for CancelStorageDrainRequest
impl Debug for CancelStorageDrainRequest
Source§impl Default for CancelStorageDrainRequest
impl Default for CancelStorageDrainRequest
Auto Trait Implementations§
impl Freeze for CancelStorageDrainRequest
impl RefUnwindSafe for CancelStorageDrainRequest
impl Send for CancelStorageDrainRequest
impl Sync for CancelStorageDrainRequest
impl Unpin for CancelStorageDrainRequest
impl UnsafeUnpin for CancelStorageDrainRequest
impl UnwindSafe for CancelStorageDrainRequest
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