pub struct UnionInterop {
pub variant_repr: Option<VariantRepr>,
}Expand description
Interop metadata attached to union schemas.
Fields§
§variant_repr: Option<VariantRepr>Optional representation hint for external wire formats.
Trait Implementations§
Source§impl Clone for UnionInterop
impl Clone for UnionInterop
Source§fn clone(&self) -> UnionInterop
fn clone(&self) -> UnionInterop
Returns a duplicate 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 moreSource§impl Debug for UnionInterop
impl Debug for UnionInterop
Source§impl Default for UnionInterop
impl Default for UnionInterop
Source§fn default() -> UnionInterop
fn default() -> UnionInterop
Returns the “default value” for a type. Read more
Source§impl<'doc> FromEure<'doc> for UnionInterop
impl<'doc> FromEure<'doc> for UnionInterop
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
Source§impl PartialEq for UnionInterop
impl PartialEq for UnionInterop
impl StructuralPartialEq for UnionInterop
Auto Trait Implementations§
impl Freeze for UnionInterop
impl RefUnwindSafe for UnionInterop
impl Send for UnionInterop
impl Sync for UnionInterop
impl Unpin for UnionInterop
impl UnsafeUnpin for UnionInterop
impl UnwindSafe for UnionInterop
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