Struct SchemaObject
pub struct SchemaObject {
pub name: String,
pub description: Option<String>,
pub is_root: bool,
pub fields: Vec<Field>,
}Expand description
One named record/message type.
Fields§
§name: StringFully-qualified name, e.g. com.example.orders.Order.
description: Option<String>§is_root: boolAn entry/envelope type — never referenced as a field type by another object.
fields: Vec<Field>Trait Implementations§
§impl Clone for SchemaObject
impl Clone for SchemaObject
§fn clone(&self) -> SchemaObject
fn clone(&self) -> SchemaObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SchemaObject
impl Debug for SchemaObject
§impl PartialEq for SchemaObject
impl PartialEq for SchemaObject
impl Eq for SchemaObject
impl StructuralPartialEq for SchemaObject
Auto Trait Implementations§
impl Freeze for SchemaObject
impl RefUnwindSafe for SchemaObject
impl Send for SchemaObject
impl Sync for SchemaObject
impl Unpin for SchemaObject
impl UnwindSafe for SchemaObject
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