pub struct Reference {
pub name: RefString,
pub target: Commit,
}
Expand description
A Reference
that must directly point to the Commit
for a
crate::CollaborativeObject
.
Fields§
§name: RefString
The name
of the reference.
target: Commit
The Commit
that this reference points to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reference
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnwindSafe for Reference
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