pub struct EnumDef {
pub fqcn: Arc<str>,
pub short_name: Arc<str>,
pub scalar_type: Option<Type>,
pub interfaces: Vec<Arc<str>>,
pub cases: IndexMap<Arc<str>, EnumCaseDef>,
pub own_methods: IndexMap<Arc<str>, Arc<MethodDef>>,
pub own_constants: IndexMap<Arc<str>, ConstantDef>,
pub location: Option<Location>,
}Fields§
§fqcn: Arc<str>§short_name: Arc<str>§scalar_type: Option<Type>§interfaces: Vec<Arc<str>>§cases: IndexMap<Arc<str>, EnumCaseDef>§own_methods: IndexMap<Arc<str>, Arc<MethodDef>>§own_constants: IndexMap<Arc<str>, ConstantDef>§location: Option<Location>Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnumDef
impl<'de> Deserialize<'de> for EnumDef
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
impl StructuralPartialEq for EnumDef
Auto Trait Implementations§
impl Freeze for EnumDef
impl RefUnwindSafe for EnumDef
impl Send for EnumDef
impl Sync for EnumDef
impl Unpin for EnumDef
impl UnsafeUnpin for EnumDef
impl UnwindSafe for EnumDef
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