pub struct RestoreRevisionOptions {
pub commit_id: Option<CommitId>,
pub message: Option<String>,
}Expand description
Options for restoring a file revision by path.
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 RestoreRevisionOptions
impl Clone for RestoreRevisionOptions
Source§fn clone(&self) -> RestoreRevisionOptions
fn clone(&self) -> RestoreRevisionOptions
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 RestoreRevisionOptions
impl Debug for RestoreRevisionOptions
Source§impl Default for RestoreRevisionOptions
impl Default for RestoreRevisionOptions
Source§fn default() -> RestoreRevisionOptions
fn default() -> RestoreRevisionOptions
Returns the “default value” for a type. Read more
impl Eq for RestoreRevisionOptions
Source§impl PartialEq for RestoreRevisionOptions
impl PartialEq for RestoreRevisionOptions
impl StructuralPartialEq for RestoreRevisionOptions
Auto Trait Implementations§
impl Freeze for RestoreRevisionOptions
impl RefUnwindSafe for RestoreRevisionOptions
impl Send for RestoreRevisionOptions
impl Sync for RestoreRevisionOptions
impl Unpin for RestoreRevisionOptions
impl UnsafeUnpin for RestoreRevisionOptions
impl UnwindSafe for RestoreRevisionOptions
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