pub struct MoveOptions {
pub behavior: DestinationBehavior,
pub commit_id: Option<CommitId>,
pub message: Option<String>,
}Expand description
Options for moving a path.
Fields§
§behavior: DestinationBehaviorCreate-only or replace-existing behavior for the destination.
commit_id: Option<CommitId>Optional idempotency key.
message: Option<String>Annotation recorded on the commit; part of the commit’s identity.
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 (const: unstable) · 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 Default for MoveOptions
impl Default for MoveOptions
Source§fn default() -> MoveOptions
fn default() -> MoveOptions
Returns the “default value” for a type. Read more
impl Eq for MoveOptions
Source§impl PartialEq for MoveOptions
impl PartialEq for MoveOptions
impl StructuralPartialEq 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 UnsafeUnpin 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