pub struct UndeleteOptions {
pub commit_id: Option<CommitId>,
pub message: Option<String>,
}Expand description
Per-operation options, defined once in loonfs-api and shared with the
embedded loonfs runtime so the two surfaces cannot drift a field apart.
Options for recovering a deleted file or subtree.
Fields§
§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 UndeleteOptions
impl Clone for UndeleteOptions
Source§fn clone(&self) -> UndeleteOptions
fn clone(&self) -> UndeleteOptions
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 UndeleteOptions
impl Debug for UndeleteOptions
Source§impl Default for UndeleteOptions
impl Default for UndeleteOptions
Source§fn default() -> UndeleteOptions
fn default() -> UndeleteOptions
Returns the “default value” for a type. Read more
impl Eq for UndeleteOptions
Source§impl PartialEq for UndeleteOptions
impl PartialEq for UndeleteOptions
impl StructuralPartialEq for UndeleteOptions
Auto Trait Implementations§
impl Freeze for UndeleteOptions
impl RefUnwindSafe for UndeleteOptions
impl Send for UndeleteOptions
impl Sync for UndeleteOptions
impl Unpin for UndeleteOptions
impl UnsafeUnpin for UndeleteOptions
impl UnwindSafe for UndeleteOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.