pub struct TreeNode {
pub path: String,
pub is_dir: bool,
pub sha: String,
pub size: Option<u64>,
}Expand description
UI-facing tree node (path relative to repo root).
Fields§
§path: String§is_dir: bool§sha: String§size: Option<u64>Trait Implementations§
impl Eq for TreeNode
impl StructuralPartialEq for TreeNode
Auto Trait Implementations§
impl Forget for TreeNode
impl Freeze for TreeNode
impl Move for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnsafeUnpin for TreeNode
impl UnwindSafe for TreeNode
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