[−][src]Enum swagger::OneOf2
$t
Variants
$i type
$i type
Trait Implementations
impl<A: Clone, B: Clone> Clone for OneOf2<A, B> where
A: PartialEq,
B: PartialEq, [src]
A: PartialEq,
B: PartialEq,
impl<A: Debug, B: Debug> Debug for OneOf2<A, B> where
A: PartialEq,
B: PartialEq, [src]
A: PartialEq,
B: PartialEq,
impl<'b, A, B> Deserialize<'b> for OneOf2<A, B> where
A: PartialEq + for<'a> Deserialize<'a>,
B: PartialEq + for<'a> Deserialize<'a>, [src]
A: PartialEq + for<'a> Deserialize<'a>,
B: PartialEq + for<'a> Deserialize<'a>,
pub fn deserialize<De: Deserializer<'b>>(
deserializer: De
) -> Result<Self, De::Error>[src]
deserializer: De
) -> Result<Self, De::Error>
impl<A, B> FromStr for OneOf2<A, B> where
A: PartialEq + FromStr,
B: PartialEq + FromStr, [src]
A: PartialEq + FromStr,
B: PartialEq + FromStr,
type Err = &'static str
The associated error which can be returned from parsing.
pub fn from_str(x: &str) -> Result<Self, Self::Err>[src]
impl<A: PartialEq, B: PartialEq> PartialEq<OneOf2<A, B>> for OneOf2<A, B> where
A: PartialEq,
B: PartialEq, [src]
A: PartialEq,
B: PartialEq,
pub fn eq(&self, other: &OneOf2<A, B>) -> bool[src]
pub fn ne(&self, other: &OneOf2<A, B>) -> bool[src]
impl<A, B> Serialize for OneOf2<A, B> where
A: PartialEq + Serialize,
B: PartialEq + Serialize, [src]
A: PartialEq + Serialize,
B: PartialEq + Serialize,
impl<A, B> StructuralPartialEq for OneOf2<A, B> where
A: PartialEq,
B: PartialEq, [src]
A: PartialEq,
B: PartialEq,
impl<A, B> ToString for OneOf2<A, B> where
A: PartialEq + ToString,
B: PartialEq + ToString, [src]
A: PartialEq + ToString,
B: PartialEq + ToString,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for OneOf2<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe, [src]
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for OneOf2<A, B> where
A: Send,
B: Send, [src]
A: Send,
B: Send,
impl<A, B> Sync for OneOf2<A, B> where
A: Sync,
B: Sync, [src]
A: Sync,
B: Sync,
impl<A, B> Unpin for OneOf2<A, B> where
A: Unpin,
B: Unpin, [src]
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for OneOf2<A, B> where
A: UnwindSafe,
B: UnwindSafe, [src]
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized, [src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,