pub struct UnionCase {
pub name: String,
pub fields: Vec<RecordField>,
}Expand description
Union case
Fields§
§name: StringCase name
fields: Vec<RecordField>Case fields
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnionCase
impl<'de> Deserialize<'de> for UnionCase
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
impl StructuralPartialEq for UnionCase
Auto Trait Implementations§
impl Freeze for UnionCase
impl RefUnwindSafe for UnionCase
impl Send for UnionCase
impl Sync for UnionCase
impl Unpin for UnionCase
impl UnsafeUnpin for UnionCase
impl UnwindSafe for UnionCase
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