Struct avro_schema::schema::Fixed
source · [−]pub struct Fixed {
pub name: String,
pub namespace: Option<String>,
pub doc: Option<String>,
pub aliases: Vec<String>,
pub size: usize,
pub logical: Option<FixedLogical>,
}
Expand description
Struct to hold data from a Schema::Fixed
.
Fields
name: String
Its name
namespace: Option<String>
Its optional namespace
doc: Option<String>
Its optional documentation
aliases: Vec<String>
Its aliases
size: usize
Its size
logical: Option<FixedLogical>
Its optional logical type
Implementations
Trait Implementations
impl StructuralPartialEq for Fixed
Auto Trait Implementations
impl RefUnwindSafe for Fixed
impl Send for Fixed
impl Sync for Fixed
impl Unpin for Fixed
impl UnwindSafe for Fixed
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