Struct apache_avro::schema::Alias
source · pub struct Alias(/* private fields */);
Expand description
Newtype pattern for Name
to better control the serde_json::Value
representation.
Aliases are serialized as an array of plain strings in the JSON representation.
Implementations§
Trait Implementations§
source§impl PartialEq<Alias> for Alias
impl PartialEq<Alias> for Alias
impl Eq for Alias
impl StructuralEq for Alias
impl StructuralPartialEq for Alias
Auto Trait Implementations§
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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