pub struct Named {
pub name: &'static str,
pub schema: &'static Schema,
pub meta: Option<Meta>,
}
Expand description
A named schema item
Fields§
§name: &'static str
The name of the item
schema: &'static Schema
The child schema
meta: Option<Meta>
The outer metadata
Implementations§
Trait Implementations§
Source§impl Ord for Named
impl Ord for Named
Source§impl PartialOrd for Named
impl PartialOrd for Named
impl Eq for Named
impl StructuralPartialEq for Named
Auto Trait Implementations§
impl Freeze for Named
impl RefUnwindSafe for Named
impl Send for Named
impl Sync for Named
impl Unpin for Named
impl UnwindSafe for Named
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