pub struct AvroRecord {
pub name: String,
pub namespace: Option<String>,
pub fields: Vec<AvroField>,
}Expand description
Avro record type.
Fields§
§name: String§namespace: Option<String>§fields: Vec<AvroField>Trait Implementations§
Source§impl Clone for AvroRecord
impl Clone for AvroRecord
Source§fn clone(&self) -> AvroRecord
fn clone(&self) -> AvroRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AvroRecord
impl Debug for AvroRecord
Source§impl PartialEq for AvroRecord
impl PartialEq for AvroRecord
Source§fn eq(&self, other: &AvroRecord) -> bool
fn eq(&self, other: &AvroRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AvroRecord
Auto Trait Implementations§
impl Freeze for AvroRecord
impl RefUnwindSafe for AvroRecord
impl Send for AvroRecord
impl Sync for AvroRecord
impl Unpin for AvroRecord
impl UnsafeUnpin for AvroRecord
impl UnwindSafe for AvroRecord
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