pub struct Schema {
pub fields: Vec<Field>,
pub metadata: Metadata,
}
Expand description
Fields§
§fields: Vec<Field>
The fields composing this schema.
metadata: Metadata
Optional metadata.
Implementations§
Trait Implementations§
source§impl PartialEq for Schema
impl PartialEq for Schema
impl Eq for Schema
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 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