pub struct MoveOptions {
pub force: Option<bool>,
}Expand description
Interface for mv options.
Fields§
§force: Option<bool>Whether to overwrite existing files in the destination. Defaults to true.
Trait Implementations§
Source§impl Clone for MoveOptions
impl Clone for MoveOptions
Source§fn clone(&self) -> MoveOptions
fn clone(&self) -> MoveOptions
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 MoveOptions
impl Debug for MoveOptions
Source§impl From<MoveOptions> for JsValue
impl From<MoveOptions> for JsValue
Source§fn from(value: MoveOptions) -> Self
fn from(value: MoveOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for MoveOptions
impl FromWasmAbi for MoveOptions
Source§impl Hash for MoveOptions
impl Hash for MoveOptions
Source§impl IntoWasmAbi for MoveOptions
impl IntoWasmAbi for MoveOptions
Source§impl LongRefFromWasmAbi for MoveOptions
impl LongRefFromWasmAbi for MoveOptions
Source§impl OptionFromWasmAbi for MoveOptions
impl OptionFromWasmAbi for MoveOptions
Source§impl OptionIntoWasmAbi for MoveOptions
impl OptionIntoWasmAbi for MoveOptions
Source§impl Ord for MoveOptions
impl Ord for MoveOptions
Source§fn cmp(&self, other: &MoveOptions) -> Ordering
fn cmp(&self, other: &MoveOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MoveOptions
impl PartialEq for MoveOptions
Source§impl PartialOrd for MoveOptions
impl PartialOrd for MoveOptions
Source§impl RefFromWasmAbi for MoveOptions
impl RefFromWasmAbi for MoveOptions
Source§type Anchor = RcRef<MoveOptions>
type Anchor = RcRef<MoveOptions>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for MoveOptions
impl RefMutFromWasmAbi for MoveOptions
Source§impl TryFromJsValue for MoveOptions
impl TryFromJsValue for MoveOptions
Source§impl VectorFromWasmAbi for MoveOptions
impl VectorFromWasmAbi for MoveOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MoveOptions]>
Source§impl VectorIntoWasmAbi for MoveOptions
impl VectorIntoWasmAbi for MoveOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MoveOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for MoveOptions
impl WasmDescribeVector for MoveOptions
impl Copy for MoveOptions
impl Eq for MoveOptions
impl StructuralPartialEq for MoveOptions
impl SupportsConstructor for MoveOptions
impl SupportsInstanceProperty for MoveOptions
impl SupportsStaticProperty for MoveOptions
Auto Trait Implementations§
impl Freeze for MoveOptions
impl RefUnwindSafe for MoveOptions
impl Send for MoveOptions
impl Sync for MoveOptions
impl Unpin for MoveOptions
impl UnwindSafe for MoveOptions
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.