pub struct UnionSchema {
pub name: String,
pub scope: ScopeSchema,
pub tag: String,
pub variants: Vec<UnionVariantSchema>,
}Fields§
§name: String§scope: ScopeSchema§tag: String§variants: Vec<UnionVariantSchema>Trait Implementations§
Source§impl Clone for UnionSchema
impl Clone for UnionSchema
Source§fn clone(&self) -> UnionSchema
fn clone(&self) -> UnionSchema
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 UnionSchema
impl Debug for UnionSchema
Source§impl<'de> Deserialize<'de> for UnionSchema
impl<'de> Deserialize<'de> for UnionSchema
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 UnionSchema
impl PartialEq for UnionSchema
Source§fn eq(&self, other: &UnionSchema) -> bool
fn eq(&self, other: &UnionSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UnionSchema
impl StructuralPartialEq for UnionSchema
Auto Trait Implementations§
impl Freeze for UnionSchema
impl RefUnwindSafe for UnionSchema
impl Send for UnionSchema
impl Sync for UnionSchema
impl Unpin for UnionSchema
impl UnsafeUnpin for UnionSchema
impl UnwindSafe for UnionSchema
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