Enum structsy::internal::Description
source · pub enum Description {
Struct(StructDescription),
Enum(EnumDescription),
}
Variants§
Struct(StructDescription)
Enum(EnumDescription)
Implementations§
Trait Implementations§
source§impl Clone for Description
impl Clone for Description
source§fn clone(&self) -> Description
fn clone(&self) -> Description
Returns a copy of the value. Read more
1.0.0 · 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 Description
impl Debug for Description
source§impl<'de> Deserialize<'de> for Description
impl<'de> Deserialize<'de> for Description
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<Description> for Description
impl PartialEq<Description> for Description
source§fn eq(&self, other: &Description) -> bool
fn eq(&self, other: &Description) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Description
impl Serialize for Description
impl Eq for Description
impl StructuralEq for Description
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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