Struct drawbridge_type::tree::Entry
source · pub struct Entry<C: ?Sized = ()> {
pub meta: Meta,
pub custom: HashMap<String, Value>,
pub content: C,
}Expand description
A directory entry
Note that this type is designed to be extensible. Therefore, the fields here represent the minimum required fields. Other fields may be present.
Fields§
§meta: MetaThe metadata of this entry
custom: HashMap<String, Value>Custom fields
content: CImplementations§
Trait Implementations§
source§impl<'de, C> Deserialize<'de> for Entry<C>where
C: Default + ?Sized,
impl<'de, C> Deserialize<'de> for Entry<C>where
C: Default + ?Sized,
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