pub enum IntOrString {
IntOrStringOneOf(Box<IntOrStringOneOf>),
IntOrStringOneOf1(Box<IntOrStringOneOf1>),
}Variants§
IntOrStringOneOf(Box<IntOrStringOneOf>)
IntOrStringOneOf1(Box<IntOrStringOneOf1>)
Trait Implementations§
Source§impl Clone for IntOrString
impl Clone for IntOrString
Source§fn clone(&self) -> IntOrString
fn clone(&self) -> IntOrString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntOrString
impl Debug for IntOrString
Source§impl Default for IntOrString
impl Default for IntOrString
Source§impl<'de> Deserialize<'de> for IntOrString
impl<'de> Deserialize<'de> for IntOrString
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
Source§impl PartialEq for IntOrString
impl PartialEq for IntOrString
Source§impl Serialize for IntOrString
impl Serialize for IntOrString
impl StructuralPartialEq for IntOrString
Auto Trait Implementations§
impl Freeze for IntOrString
impl RefUnwindSafe for IntOrString
impl Send for IntOrString
impl Sync for IntOrString
impl Unpin for IntOrString
impl UnwindSafe for IntOrString
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