pub struct TreeEntry {
pub name: String,
pub kind: EntryKind,
pub sha: String,
pub size: Option<u64>,
}Expand description
One row of a directory listing.
Fields§
§name: StringBasename within the listed directory.
kind: EntryKindEntry kind.
sha: StringObject sha.
size: Option<u64>Blob size in bytes (None for trees/submodules).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnsafeUnpin for TreeEntry
impl UnwindSafe for TreeEntry
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