pub struct RemoteRef {
pub name: BString,
pub oid: ObjectId,
}Expand description
One ref as the remote advertised it.
Fields§
§name: BStringFull ref name, e.g. refs/heads/main. Bytes, not UTF-8.
oid: ObjectIdThe object it currently points at.
Implementations§
Trait Implementations§
impl Eq for RemoteRef
impl StructuralPartialEq for RemoteRef
Auto Trait Implementations§
impl Freeze for RemoteRef
impl RefUnwindSafe for RemoteRef
impl Send for RemoteRef
impl Sync for RemoteRef
impl Unpin for RemoteRef
impl UnsafeUnpin for RemoteRef
impl UnwindSafe for RemoteRef
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