pub enum Thing {
Component(Component),
Variable(Variable),
Record(Record),
OrType(OrType),
OrTypeWithVariant {
e: OrType,
variant: String,
},
}
Variants
Component(Component)
Variable(Variable)
Record(Record)
OrType(OrType)
OrTypeWithVariant
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Thing
impl<'de> Deserialize<'de> for Thing
sourcefn 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
sourceimpl PartialEq<Thing> for Thing
impl PartialEq<Thing> for Thing
impl StructuralPartialEq for Thing
Auto Trait Implementations
impl RefUnwindSafe for Thing
impl Send for Thing
impl Sync for Thing
impl Unpin for Thing
impl UnwindSafe for Thing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more