pub struct EnumCaseDef {
pub name: Arc<str>,
pub value: Option<Type>,
pub location: Option<Location>,
pub deprecated: Option<Arc<str>>,
}Fields§
§name: Arc<str>§value: Option<Type>§location: Option<Location>§deprecated: Option<Arc<str>>@deprecated docblock annotation, if present.
Trait Implementations§
Source§impl Clone for EnumCaseDef
impl Clone for EnumCaseDef
Source§fn clone(&self) -> EnumCaseDef
fn clone(&self) -> EnumCaseDef
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 EnumCaseDef
impl Debug for EnumCaseDef
Source§impl<'de> Deserialize<'de> for EnumCaseDef
impl<'de> Deserialize<'de> for EnumCaseDef
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 EnumCaseDef
impl PartialEq for EnumCaseDef
Source§fn eq(&self, other: &EnumCaseDef) -> bool
fn eq(&self, other: &EnumCaseDef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnumCaseDef
impl Serialize for EnumCaseDef
impl StructuralPartialEq for EnumCaseDef
Auto Trait Implementations§
impl Freeze for EnumCaseDef
impl RefUnwindSafe for EnumCaseDef
impl Send for EnumCaseDef
impl Sync for EnumCaseDef
impl Unpin for EnumCaseDef
impl UnsafeUnpin for EnumCaseDef
impl UnwindSafe for EnumCaseDef
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