pub enum SchemaTypeEnumVariant {
Empty,
Tuple(SchemaTypeTuple),
Struct(SchemaTypeStruct),
}
Variants
Empty
Tuple(SchemaTypeTuple)
Struct(SchemaTypeStruct)
Implementations
sourceimpl SchemaTypeEnumVariant
impl SchemaTypeEnumVariant
pub fn new_tuple(content: impl Into<SchemaTypeTuple>) -> Self
pub fn new_struct(content: impl Into<SchemaTypeStruct>) -> Self
Trait Implementations
sourceimpl Clone for SchemaTypeEnumVariant
impl Clone for SchemaTypeEnumVariant
sourcefn clone(&self) -> SchemaTypeEnumVariant
fn clone(&self) -> SchemaTypeEnumVariant
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SchemaTypeEnumVariant
impl Debug for SchemaTypeEnumVariant
sourceimpl Default for SchemaTypeEnumVariant
impl Default for SchemaTypeEnumVariant
sourceimpl<'de> Deserialize<'de> for SchemaTypeEnumVariant
impl<'de> Deserialize<'de> for SchemaTypeEnumVariant
sourcefn 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
sourceimpl PartialEq<SchemaTypeEnumVariant> for SchemaTypeEnumVariant
impl PartialEq<SchemaTypeEnumVariant> for SchemaTypeEnumVariant
sourcefn eq(&self, other: &SchemaTypeEnumVariant) -> bool
fn eq(&self, other: &SchemaTypeEnumVariant) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SchemaTypeEnumVariant) -> bool
fn ne(&self, other: &SchemaTypeEnumVariant) -> bool
This method tests for !=
.
sourceimpl Serialize for SchemaTypeEnumVariant
impl Serialize for SchemaTypeEnumVariant
impl StructuralPartialEq for SchemaTypeEnumVariant
Auto Trait Implementations
impl RefUnwindSafe for SchemaTypeEnumVariant
impl Send for SchemaTypeEnumVariant
impl Sync for SchemaTypeEnumVariant
impl Unpin for SchemaTypeEnumVariant
impl UnwindSafe for SchemaTypeEnumVariant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more