pub struct UnbundledRef {
pub name: String,
pub oid: ObjectId,
}Expand description
A single ref entry returned from Bundle::unbundle.
Fields§
§name: StringFull ref name (e.g. refs/heads/main).
oid: ObjectIdTip object id.
Trait Implementations§
Source§impl Clone for UnbundledRef
impl Clone for UnbundledRef
Source§impl Debug for UnbundledRef
impl Debug for UnbundledRef
impl Eq for UnbundledRef
Source§impl PartialEq for UnbundledRef
impl PartialEq for UnbundledRef
impl StructuralPartialEq for UnbundledRef
Auto Trait Implementations§
impl Freeze for UnbundledRef
impl RefUnwindSafe for UnbundledRef
impl Send for UnbundledRef
impl Sync for UnbundledRef
impl Unpin for UnbundledRef
impl UnsafeUnpin for UnbundledRef
impl UnwindSafe for UnbundledRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.