pub struct OrType {
pub name: String,
pub variants: Vec<OrTypeVariant>,
pub line_number: usize,
}Fields§
§name: String§variants: Vec<OrTypeVariant>§line_number: usizeImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrType
impl<'de> Deserialize<'de> for OrType
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 OrType
Auto Trait Implementations§
impl Freeze for OrType
impl RefUnwindSafe for OrType
impl Send for OrType
impl Sync for OrType
impl Unpin for OrType
impl UnwindSafe for OrType
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