pub struct DepositOptions {
pub force: bool,
}Expand description
How a deposit treats a destination that is not empty (REQ-NODESTROY-001).
Fields§
§force: boolOverwrite a layout that already carries referrers, destroying them. Deliberate and stated — the point of the guard is that the destructive case must be ASKED for, not stumbled into.
Trait Implementations§
Source§impl Clone for DepositOptions
impl Clone for DepositOptions
Source§fn clone(&self) -> DepositOptions
fn clone(&self) -> DepositOptions
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 moreimpl Copy for DepositOptions
Source§impl Debug for DepositOptions
impl Debug for DepositOptions
Source§impl Default for DepositOptions
impl Default for DepositOptions
Source§fn default() -> DepositOptions
fn default() -> DepositOptions
Returns the “default value” for a type. Read more
impl Eq for DepositOptions
Source§impl PartialEq for DepositOptions
impl PartialEq for DepositOptions
impl StructuralPartialEq for DepositOptions
Auto Trait Implementations§
impl Freeze for DepositOptions
impl RefUnwindSafe for DepositOptions
impl Send for DepositOptions
impl Sync for DepositOptions
impl Unpin for DepositOptions
impl UnsafeUnpin for DepositOptions
impl UnwindSafe for DepositOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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