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
sourceimpl<'de, C: ?Sized> Deserialize<'de> for Entry<C> where
    C: Default, 
 
impl<'de, C: ?Sized> Deserialize<'de> for Entry<C> where
    C: Default, 
sourcefn 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
impl<C: Eq + ?Sized> Eq for Entry<C>
impl<C: ?Sized> StructuralEq for Entry<C>
impl<C: ?Sized> StructuralPartialEq for Entry<C>
Auto Trait Implementations
impl<C: ?Sized> RefUnwindSafe for Entry<C> where
    C: RefUnwindSafe, 
impl<C: ?Sized> Send for Entry<C> where
    C: Send, 
impl<C: ?Sized> Sync for Entry<C> where
    C: Sync, 
impl<C: ?Sized> Unpin for Entry<C> where
    C: Unpin, 
impl<C: ?Sized> UnwindSafe for Entry<C> where
    C: UnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more