Fields
name: String
variants: Vec<Record>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for OrType
impl<'de> Deserialize<'de> for OrType
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<OrType> for OrType
impl PartialEq<OrType> for OrType
impl StructuralPartialEq for OrType
Auto Trait Implementations
impl RefUnwindSafe for OrType
impl Send for OrType
impl Sync for OrType
impl Unpin for OrType
impl UnwindSafe for OrType
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