pub struct Record {
pub name: String,
pub namespace: Option<String>,
pub doc: Option<String>,
pub aliases: Vec<String>,
pub fields: Vec<Field>,
}
Expand description
Struct to hold data from a Schema::Record
.
Fields§
§name: String
Its name
namespace: Option<String>
Its optional namespace
doc: Option<String>
Its optional documentation
aliases: Vec<String>
Its aliases
fields: Vec<Field>
Its children fields
Implementations§
Trait Implementations§
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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