pub struct StructureItem {
pub name: String,
pub path: String,
pub item_type: ItemType,
pub template: Option<String>,
pub content: Option<String>,
pub children: Vec<StructureItem>,
}Fields§
§name: String§path: String§item_type: ItemType§template: Option<String>§content: Option<String>§children: Vec<StructureItem>Trait Implementations§
Source§impl Clone for StructureItem
impl Clone for StructureItem
Source§fn clone(&self) -> StructureItem
fn clone(&self) -> StructureItem
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 StructureItem
impl Debug for StructureItem
Source§impl<'de> Deserialize<'de> for StructureItem
impl<'de> Deserialize<'de> for StructureItem
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 StructureItem
impl RefUnwindSafe for StructureItem
impl Send for StructureItem
impl Sync for StructureItem
impl Unpin for StructureItem
impl UnwindSafe for StructureItem
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