pub struct IntOrStringOneOf {
pub int: i32,
}Fields§
§int: i32Implementations§
Source§impl IntOrStringOneOf
impl IntOrStringOneOf
pub fn new(int: i32) -> IntOrStringOneOf
Trait Implementations§
Source§impl Clone for IntOrStringOneOf
impl Clone for IntOrStringOneOf
Source§fn clone(&self) -> IntOrStringOneOf
fn clone(&self) -> IntOrStringOneOf
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 IntOrStringOneOf
impl Debug for IntOrStringOneOf
Source§impl Default for IntOrStringOneOf
impl Default for IntOrStringOneOf
Source§fn default() -> IntOrStringOneOf
fn default() -> IntOrStringOneOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntOrStringOneOf
impl<'de> Deserialize<'de> for IntOrStringOneOf
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 IntOrStringOneOf
impl PartialEq for IntOrStringOneOf
Source§impl Serialize for IntOrStringOneOf
impl Serialize for IntOrStringOneOf
impl StructuralPartialEq for IntOrStringOneOf
Auto Trait Implementations§
impl Freeze for IntOrStringOneOf
impl RefUnwindSafe for IntOrStringOneOf
impl Send for IntOrStringOneOf
impl Sync for IntOrStringOneOf
impl Unpin for IntOrStringOneOf
impl UnwindSafe for IntOrStringOneOf
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