Struct avro_schema::schema::Record
source · [−]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 RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more