pub struct TreeRow {
pub mode: String,
pub kind: String,
pub sha: String,
pub size: Option<u64>,
pub name: String,
}Expand description
One ls-tree -l row.
Fields§
§mode: StringFile mode.
kind: Stringblob, tree or commit.
sha: StringObject id.
size: Option<u64>Size, None for trees.
name: StringEntry name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeRow
impl RefUnwindSafe for TreeRow
impl Send for TreeRow
impl Sync for TreeRow
impl Unpin for TreeRow
impl UnsafeUnpin for TreeRow
impl UnwindSafe for TreeRow
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