pub struct MinimalUnionType {
pub union_flags: UnionTypeFlag,
pub header: MinimalUnionHeader,
pub discriminator: MinimalDiscriminatorMember,
pub member_seq: MinimalUnionMemberSeq,
}Fields§
§union_flags: UnionTypeFlag§header: MinimalUnionHeader§discriminator: MinimalDiscriminatorMember§member_seq: MinimalUnionMemberSeqTrait Implementations§
Source§impl Clone for MinimalUnionType
impl Clone for MinimalUnionType
Source§fn clone(&self) -> MinimalUnionType
fn clone(&self) -> MinimalUnionType
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 MinimalUnionType
impl Debug for MinimalUnionType
Source§impl Default for MinimalUnionType
impl Default for MinimalUnionType
Source§fn default() -> MinimalUnionType
fn default() -> MinimalUnionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MinimalUnionType
impl<'de> Deserialize<'de> for MinimalUnionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MinimalUnionType
impl PartialEq for MinimalUnionType
Source§fn eq(&self, other: &MinimalUnionType) -> bool
fn eq(&self, other: &MinimalUnionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MinimalUnionType
impl Serialize for MinimalUnionType
impl StructuralPartialEq for MinimalUnionType
Auto Trait Implementations§
impl Freeze for MinimalUnionType
impl RefUnwindSafe for MinimalUnionType
impl Send for MinimalUnionType
impl Sync for MinimalUnionType
impl Unpin for MinimalUnionType
impl UnsafeUnpin for MinimalUnionType
impl UnwindSafe for MinimalUnionType
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