pub struct MoveOptions {
pub behavior: DestinationBehavior,
pub commit: CommitOptions,
pub expected_destination_inode_id: Option<InodeId>,
pub expected_destination_revision_no: Option<RevisionNo>,
}Expand description
Options for moving a path.
Fields§
§behavior: DestinationBehaviorCreate-only or replace-existing behavior for the destination.
commit: CommitOptionsActor, commit ID, and message.
expected_destination_inode_id: Option<InodeId>The inode that the destination must still reference when using Replace behavior.
expected_destination_revision_no: Option<RevisionNo>The revision that must still be current when using Replace behavior with
expected_destination_inode_id.
Implementations§
Trait Implementations§
Source§impl Clone for MoveOptions
impl Clone for MoveOptions
Source§impl Debug for MoveOptions
impl Debug for MoveOptions
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