pub struct TreeReference {
pub path: PathBuf,
pub kind: Kind,
pub reference_revision: Option<RevisionId>,
}Expand description
Represents a tree reference.
Fields§
§path: PathBufThe path where the reference should be added.
kind: KindThe kind of reference.
reference_revision: Option<RevisionId>The reference revision.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeReference
impl RefUnwindSafe for TreeReference
impl Send for TreeReference
impl Sync for TreeReference
impl Unpin for TreeReference
impl UnwindSafe for TreeReference
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