pub struct Schema {
pub path: Arc<str>,
/* private fields */
}Expand description
A closed set of fields, in declaration order, indexed by name. A schema
document has one, and so does each object field type.
Fields§
§path: Arc<str>Source path of the schema document, relative to the root. Nested
object types share their document’s path.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Schema
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnsafeUnpin for Schema
impl UnwindSafe for Schema
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