pub struct GitTreeEntry {
pub mode: Vec<u8>,
pub name: Vec<u8>,
pub id: Sha1Id,
}Expand description
One raw git tree entry: mode string verbatim, name bytes, child id.
Fields§
§mode: Vec<u8>§name: Vec<u8>§id: Sha1IdTrait Implementations§
Source§impl Clone for GitTreeEntry
impl Clone for GitTreeEntry
Source§fn clone(&self) -> GitTreeEntry
fn clone(&self) -> GitTreeEntry
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 Debug for GitTreeEntry
impl Debug for GitTreeEntry
impl Eq for GitTreeEntry
Source§impl PartialEq for GitTreeEntry
impl PartialEq for GitTreeEntry
Source§fn eq(&self, other: &GitTreeEntry) -> bool
fn eq(&self, other: &GitTreeEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitTreeEntry
Auto Trait Implementations§
impl Freeze for GitTreeEntry
impl RefUnwindSafe for GitTreeEntry
impl Send for GitTreeEntry
impl Sync for GitTreeEntry
impl Unpin for GitTreeEntry
impl UnsafeUnpin for GitTreeEntry
impl UnwindSafe for GitTreeEntry
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