pub enum OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq, {
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
G(G),
H(H),
I(I),
J(J),
K(K),
}Expand description
OneOf11 type.
This allows modelling of oneOf JSON schemas.
Variants
A(A)
A variant of OneOf11
B(B)
B variant of OneOf11
C(C)
C variant of OneOf11
D(D)
D variant of OneOf11
E(E)
E variant of OneOf11
F(F)
F variant of OneOf11
G(G)
G variant of OneOf11
H(H)
H variant of OneOf11
I(I)
I variant of OneOf11
J(J)
J variant of OneOf11
K(K)
K variant of OneOf11
Trait Implementations
sourceimpl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone> Clone for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone> Clone for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
sourceimpl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug> Debug for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug> Debug for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
sourceimpl<'b, A, B, C, D, E, F, G, H, I, J, K> Deserialize<'b> for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + for<'a> Deserialize<'a>,
B: PartialEq + for<'a> Deserialize<'a>,
C: PartialEq + for<'a> Deserialize<'a>,
D: PartialEq + for<'a> Deserialize<'a>,
E: PartialEq + for<'a> Deserialize<'a>,
F: PartialEq + for<'a> Deserialize<'a>,
G: PartialEq + for<'a> Deserialize<'a>,
H: PartialEq + for<'a> Deserialize<'a>,
I: PartialEq + for<'a> Deserialize<'a>,
J: PartialEq + for<'a> Deserialize<'a>,
K: PartialEq + for<'a> Deserialize<'a>,
impl<'b, A, B, C, D, E, F, G, H, I, J, K> Deserialize<'b> for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + for<'a> Deserialize<'a>,
B: PartialEq + for<'a> Deserialize<'a>,
C: PartialEq + for<'a> Deserialize<'a>,
D: PartialEq + for<'a> Deserialize<'a>,
E: PartialEq + for<'a> Deserialize<'a>,
F: PartialEq + for<'a> Deserialize<'a>,
G: PartialEq + for<'a> Deserialize<'a>,
H: PartialEq + for<'a> Deserialize<'a>,
I: PartialEq + for<'a> Deserialize<'a>,
J: PartialEq + for<'a> Deserialize<'a>,
K: PartialEq + for<'a> Deserialize<'a>,
sourcefn deserialize<De: Deserializer<'b>>(
deserializer: De
) -> Result<Self, De::Error>
fn deserialize<De: Deserializer<'b>>(
deserializer: De
) -> Result<Self, De::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<A, B, C, D, E, F, G, H, I, J, K> FromStr for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + FromStr,
B: PartialEq + FromStr,
C: PartialEq + FromStr,
D: PartialEq + FromStr,
E: PartialEq + FromStr,
F: PartialEq + FromStr,
G: PartialEq + FromStr,
H: PartialEq + FromStr,
I: PartialEq + FromStr,
J: PartialEq + FromStr,
K: PartialEq + FromStr,
impl<A, B, C, D, E, F, G, H, I, J, K> FromStr for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + FromStr,
B: PartialEq + FromStr,
C: PartialEq + FromStr,
D: PartialEq + FromStr,
E: PartialEq + FromStr,
F: PartialEq + FromStr,
G: PartialEq + FromStr,
H: PartialEq + FromStr,
I: PartialEq + FromStr,
J: PartialEq + FromStr,
K: PartialEq + FromStr,
sourceimpl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq, K: PartialEq> PartialEq<OneOf11<A, B, C, D, E, F, G, H, I, J, K>> for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq, K: PartialEq> PartialEq<OneOf11<A, B, C, D, E, F, G, H, I, J, K>> for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
sourceimpl<A, B, C, D, E, F, G, H, I, J, K> Serialize for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + Serialize,
B: PartialEq + Serialize,
C: PartialEq + Serialize,
D: PartialEq + Serialize,
E: PartialEq + Serialize,
F: PartialEq + Serialize,
G: PartialEq + Serialize,
H: PartialEq + Serialize,
I: PartialEq + Serialize,
J: PartialEq + Serialize,
K: PartialEq + Serialize,
impl<A, B, C, D, E, F, G, H, I, J, K> Serialize for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + Serialize,
B: PartialEq + Serialize,
C: PartialEq + Serialize,
D: PartialEq + Serialize,
E: PartialEq + Serialize,
F: PartialEq + Serialize,
G: PartialEq + Serialize,
H: PartialEq + Serialize,
I: PartialEq + Serialize,
J: PartialEq + Serialize,
K: PartialEq + Serialize,
sourceimpl<A, B, C, D, E, F, G, H, I, J, K> ToString for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + ToString,
B: PartialEq + ToString,
C: PartialEq + ToString,
D: PartialEq + ToString,
E: PartialEq + ToString,
F: PartialEq + ToString,
G: PartialEq + ToString,
H: PartialEq + ToString,
I: PartialEq + ToString,
J: PartialEq + ToString,
K: PartialEq + ToString,
impl<A, B, C, D, E, F, G, H, I, J, K> ToString for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq + ToString,
B: PartialEq + ToString,
C: PartialEq + ToString,
D: PartialEq + ToString,
E: PartialEq + ToString,
F: PartialEq + ToString,
G: PartialEq + ToString,
H: PartialEq + ToString,
I: PartialEq + ToString,
J: PartialEq + ToString,
K: PartialEq + ToString,
impl<A, B, C, D, E, F, G, H, I, J, K> StructuralPartialEq for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq,
E: PartialEq,
F: PartialEq,
G: PartialEq,
H: PartialEq,
I: PartialEq,
J: PartialEq,
K: PartialEq,
Auto Trait Implementations
impl<A, B, C, D, E, F, G, H, I, J, K> RefUnwindSafe for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
H: RefUnwindSafe,
I: RefUnwindSafe,
J: RefUnwindSafe,
K: RefUnwindSafe,
impl<A, B, C, D, E, F, G, H, I, J, K> Send for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
F: Send,
G: Send,
H: Send,
I: Send,
J: Send,
K: Send,
impl<A, B, C, D, E, F, G, H, I, J, K> Sync for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
F: Sync,
G: Sync,
H: Sync,
I: Sync,
J: Sync,
K: Sync,
impl<A, B, C, D, E, F, G, H, I, J, K> Unpin for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
F: Unpin,
G: Unpin,
H: Unpin,
I: Unpin,
J: Unpin,
K: Unpin,
impl<A, B, C, D, E, F, G, H, I, J, K> UnwindSafe for OneOf11<A, B, C, D, E, F, G, H, I, J, K> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
H: UnwindSafe,
I: UnwindSafe,
J: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more