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