pub struct GitTreeEntryRef<'a> {
pub mode: RawGitMode,
pub name: &'a [u8],
pub oid: ObjectId,
}Expand description
One entry of a raw Git tree object, with its mode exactly as written.
Fields§
§mode: RawGitMode§name: &'a [u8]§oid: ObjectIdTrait Implementations§
Source§impl<'a> Clone for GitTreeEntryRef<'a>
impl<'a> Clone for GitTreeEntryRef<'a>
Source§fn clone(&self) -> GitTreeEntryRef<'a>
fn clone(&self) -> GitTreeEntryRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GitTreeEntryRef<'a>
impl<'a> Debug for GitTreeEntryRef<'a>
impl<'a> Eq for GitTreeEntryRef<'a>
Source§impl<'a> PartialEq for GitTreeEntryRef<'a>
impl<'a> PartialEq for GitTreeEntryRef<'a>
impl<'a> StructuralPartialEq for GitTreeEntryRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for GitTreeEntryRef<'a>
impl<'a> RefUnwindSafe for GitTreeEntryRef<'a>
impl<'a> Send for GitTreeEntryRef<'a>
impl<'a> Sync for GitTreeEntryRef<'a>
impl<'a> Unpin for GitTreeEntryRef<'a>
impl<'a> UnsafeUnpin for GitTreeEntryRef<'a>
impl<'a> UnwindSafe for GitTreeEntryRef<'a>
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