pub struct UndeleteOptions {
pub commit_id: Option<CommitId>,
pub message: Option<String>,
}Expand description
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