pub struct TreeRow {
pub slug: String,
pub title: String,
pub depth: usize,
pub is_folder: bool,
pub is_placeholder: bool,
pub is_expanded: bool,
pub file_path: Option<String>,
}Expand description
A single row in the flattened tree output.
Fields§
§slug: String§title: String§depth: usize§is_folder: bool§is_placeholder: bool§is_expanded: bool§file_path: Option<String>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