[−][src]Enum swagger::OneOf1
$t
Variants
$i type
Trait Implementations
impl<A: Clone> Clone for OneOf1<A> where
A: PartialEq, [src]
A: PartialEq,
impl<A: Debug> Debug for OneOf1<A> where
A: PartialEq, [src]
A: PartialEq,
impl<'b, A> Deserialize<'b> for OneOf1<A> where
A: PartialEq + for<'a> Deserialize<'a>, [src]
A: 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> FromStr for OneOf1<A> where
A: PartialEq + FromStr, [src]
A: 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> PartialEq<OneOf1<A>> for OneOf1<A> where
A: PartialEq, [src]
A: PartialEq,
impl<A> Serialize for OneOf1<A> where
A: PartialEq + Serialize, [src]
A: PartialEq + Serialize,
impl<A> StructuralPartialEq for OneOf1<A> where
A: PartialEq, [src]
A: PartialEq,
impl<A> ToString for OneOf1<A> where
A: PartialEq + ToString, [src]
A: PartialEq + ToString,
Auto Trait Implementations
impl<A> RefUnwindSafe for OneOf1<A> where
A: RefUnwindSafe, [src]
A: RefUnwindSafe,
impl<A> Send for OneOf1<A> where
A: Send, [src]
A: Send,
impl<A> Sync for OneOf1<A> where
A: Sync, [src]
A: Sync,
impl<A> Unpin for OneOf1<A> where
A: Unpin, [src]
A: Unpin,
impl<A> UnwindSafe for OneOf1<A> where
A: UnwindSafe, [src]
A: 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>,