pub struct CommitOptions {
pub actor: ActorRef,
pub commit_id: Option<CommitId>,
pub message: Option<String>,
}Expand description
Commit settings shared by every filesystem mutation.
Fields§
§actor: ActorRefActor responsible for the commit, as supplied by the application.
commit_id: Option<CommitId>Optional idempotency key. LoonFS generates one when this is None.
message: Option<String>Optional commit message. Changing it changes the commit identity.
Implementations§
Trait Implementations§
Source§impl Clone for CommitOptions
impl Clone for CommitOptions
Source§fn clone(&self) -> CommitOptions
fn clone(&self) -> CommitOptions
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 CommitOptions
impl Debug for CommitOptions
impl Eq for CommitOptions
Source§impl PartialEq for CommitOptions
impl PartialEq for CommitOptions
impl StructuralPartialEq for CommitOptions
Auto Trait Implementations§
impl Freeze for CommitOptions
impl RefUnwindSafe for CommitOptions
impl Send for CommitOptions
impl Sync for CommitOptions
impl Unpin for CommitOptions
impl UnsafeUnpin for CommitOptions
impl UnwindSafe for CommitOptions
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