Struct apache_avro::schema::FixedSchema
source · pub struct FixedSchema {
pub name: Name,
pub aliases: Aliases,
pub doc: Documentation,
pub size: usize,
pub default: Option<String>,
pub attributes: BTreeMap<String, Value>,
}
Expand description
A description of a Union schema.
Fields§
§name: Name
The name of the schema
aliases: Aliases
The aliases of the schema
doc: Documentation
The documentation of the schema
size: usize
The size of the fixed schema
default: Option<String>
An optional default symbol used for compatibility
attributes: BTreeMap<String, Value>
The custom attributes of the schema
Trait Implementations§
source§impl Clone for FixedSchema
impl Clone for FixedSchema
source§fn clone(&self) -> FixedSchema
fn clone(&self) -> FixedSchema
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for FixedSchema
impl RefUnwindSafe for FixedSchema
impl Send for FixedSchema
impl Sync for FixedSchema
impl Unpin for FixedSchema
impl UnwindSafe for FixedSchema
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)