pub struct TreeNode {
pub entry: FileEntry,
pub children: Vec<usize>,
pub label: Option<String>,
pub label_timestamp: Option<String>,
}Expand description
One entry of a SessionTree.
Fields§
§entry: FileEntryThe entry.
children: Vec<usize>Indexes of the children, oldest first.
label: Option<String>The entry’s label.
label_timestamp: Option<String>When the label was last set.
Trait Implementations§
impl StructuralPartialEq for TreeNode
Auto Trait Implementations§
impl Forget for TreeNode
impl Freeze 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