pub struct ContentTreeNode {
pub name: String,
pub expanded: bool,
pub size: i64,
pub node_type: String,
pub children: Vec<ContentTreeNode>,
pub count: i64,
}
Fields§
§name: String
§expanded: bool
§size: i64
§node_type: String
§children: Vec<ContentTreeNode>
§count: i64
Trait Implementations§
Source§impl Clone for ContentTreeNode
impl Clone for ContentTreeNode
Source§fn clone(&self) -> ContentTreeNode
fn clone(&self) -> ContentTreeNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContentTreeNode
impl Debug for ContentTreeNode
Source§impl<'de> Deserialize<'de> for ContentTreeNode
impl<'de> Deserialize<'de> for ContentTreeNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContentTreeNode
impl RefUnwindSafe for ContentTreeNode
impl Send for ContentTreeNode
impl Sync for ContentTreeNode
impl Unpin for ContentTreeNode
impl UnwindSafe for ContentTreeNode
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