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