pub enum EnumBody {
EnumStringBody {
members: Vec<EnumMember>,
explicit_type: bool,
has_unknown_members: bool,
},
EnumNumberBody {
members: Vec<EnumMember>,
explicit_type: bool,
has_unknown_members: bool,
},
EnumBooleanBody {
members: Vec<EnumMember>,
explicit_type: bool,
has_unknown_members: bool,
},
EnumSymbolBody {
members: Vec<EnumMember>,
has_unknown_members: bool,
},
EnumBigIntBody {
members: Vec<EnumMember>,
explicit_type: bool,
has_unknown_members: bool,
},
Other,
}Expand description
Body of a Flow enum declaration.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnumBody
impl<'de> Deserialize<'de> for EnumBody
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
Auto Trait Implementations§
impl Freeze for EnumBody
impl RefUnwindSafe for EnumBody
impl Send for EnumBody
impl Sync for EnumBody
impl Unpin for EnumBody
impl UnsafeUnpin for EnumBody
impl UnwindSafe for EnumBody
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