pub struct ObjectWalkRoot {
pub oid: ObjectId,
pub input: String,
pub root_path: Option<String>,
}Expand description
Non-commit root from revision arguments (tag, rev:path, raw tree/blob OID), for object walks.
Fields§
§oid: ObjectIdObject id of the peeled non-commit (tree or blob) or tag target.
input: String§root_path: Option<String>Path within the tree for rev:path blob roots.
Trait Implementations§
Source§impl Clone for ObjectWalkRoot
impl Clone for ObjectWalkRoot
Source§fn clone(&self) -> ObjectWalkRoot
fn clone(&self) -> ObjectWalkRoot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObjectWalkRoot
impl RefUnwindSafe for ObjectWalkRoot
impl Send for ObjectWalkRoot
impl Sync for ObjectWalkRoot
impl Unpin for ObjectWalkRoot
impl UnsafeUnpin for ObjectWalkRoot
impl UnwindSafe for ObjectWalkRoot
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