[−][src]Struct swagger::context::ContextBuilder
Wrapper type for building up contexts recursively, adding one item to the context at a time.
Trait Implementations
impl<T: Clone, C: Clone> Clone for ContextBuilder<T, C>
[src]
fn clone(&self) -> ContextBuilder<T, C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug, C: Debug> Debug for ContextBuilder<T, C>
[src]
impl<T: Default, C: Default> Default for ContextBuilder<T, C>
[src]
fn default() -> ContextBuilder<T, C>
[src]
impl<T: Eq, C: Eq> Eq for ContextBuilder<T, C>
[src]
impl<C> Has<Option<AuthData>> for ContextBuilder<Option<AuthData>, C>
[src]
fn set(&mut self, item: Option<AuthData>)
[src]
fn get(&self) -> &Option<AuthData>
[src]
fn get_mut(&mut self) -> &mut Option<AuthData>
[src]
impl<C: Has<Option<AuthData>>> Has<Option<AuthData>> for ContextBuilder<XSpanIdString, C>
[src]
fn set(&mut self, item: Option<AuthData>)
[src]
fn get(&self) -> &Option<AuthData>
[src]
fn get_mut(&mut self) -> &mut Option<AuthData>
[src]
impl<C: Has<Option<AuthData>>> Has<Option<AuthData>> for ContextBuilder<Option<Authorization>, C>
[src]
fn set(&mut self, item: Option<AuthData>)
[src]
fn get(&self) -> &Option<AuthData>
[src]
fn get_mut(&mut self) -> &mut Option<AuthData>
[src]
impl<C> Has<Option<Authorization>> for ContextBuilder<Option<Authorization>, C>
[src]
fn set(&mut self, item: Option<Authorization>)
[src]
fn get(&self) -> &Option<Authorization>
[src]
fn get_mut(&mut self) -> &mut Option<Authorization>
[src]
impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<XSpanIdString, C>
[src]
fn set(&mut self, item: Option<Authorization>)
[src]
fn get(&self) -> &Option<Authorization>
[src]
fn get_mut(&mut self) -> &mut Option<Authorization>
[src]
impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<Option<AuthData>, C>
[src]
fn set(&mut self, item: Option<Authorization>)
[src]
fn get(&self) -> &Option<Authorization>
[src]
fn get_mut(&mut self) -> &mut Option<Authorization>
[src]
impl<C> Has<XSpanIdString> for ContextBuilder<XSpanIdString, C>
[src]
fn set(&mut self, item: XSpanIdString)
[src]
fn get(&self) -> &XSpanIdString
[src]
fn get_mut(&mut self) -> &mut XSpanIdString
[src]
impl<C: Has<XSpanIdString>> Has<XSpanIdString> for ContextBuilder<Option<AuthData>, C>
[src]
fn set(&mut self, item: XSpanIdString)
[src]
fn get(&self) -> &XSpanIdString
[src]
fn get_mut(&mut self) -> &mut XSpanIdString
[src]
impl<C: Has<XSpanIdString>> Has<XSpanIdString> for ContextBuilder<Option<Authorization>, C>
[src]
fn set(&mut self, item: XSpanIdString)
[src]
fn get(&self) -> &XSpanIdString
[src]
fn get_mut(&mut self) -> &mut XSpanIdString
[src]
impl<T: PartialEq, C: PartialEq> PartialEq<ContextBuilder<T, C>> for ContextBuilder<T, C>
[src]
fn eq(&self, other: &ContextBuilder<T, C>) -> bool
[src]
fn ne(&self, other: &ContextBuilder<T, C>) -> bool
[src]
impl<C> Pop<Option<AuthData>> for ContextBuilder<Option<AuthData>, C>
[src]
type Result = C
The type that remains after the value has been popped.
fn pop(self) -> (Option<AuthData>, Self::Result)
[src]
impl<C> Pop<Option<AuthData>> for ContextBuilder<XSpanIdString, C> where
C: Pop<Option<AuthData>>,
[src]
C: Pop<Option<AuthData>>,
type Result = ContextBuilder<XSpanIdString, C::Result>
The type that remains after the value has been popped.
fn pop(self) -> (Option<AuthData>, Self::Result)
[src]
impl<C> Pop<Option<AuthData>> for ContextBuilder<Option<Authorization>, C> where
C: Pop<Option<AuthData>>,
[src]
C: Pop<Option<AuthData>>,
type Result = ContextBuilder<Option<Authorization>, C::Result>
The type that remains after the value has been popped.
fn pop(self) -> (Option<AuthData>, Self::Result)
[src]
impl<C> Pop<Option<Authorization>> for ContextBuilder<Option<Authorization>, C>
[src]
type Result = C
The type that remains after the value has been popped.
fn pop(self) -> (Option<Authorization>, Self::Result)
[src]
impl<C> Pop<Option<Authorization>> for ContextBuilder<XSpanIdString, C> where
C: Pop<Option<Authorization>>,
[src]
C: Pop<Option<Authorization>>,
type Result = ContextBuilder<XSpanIdString, C::Result>
The type that remains after the value has been popped.
fn pop(self) -> (Option<Authorization>, Self::Result)
[src]
impl<C> Pop<Option<Authorization>> for ContextBuilder<Option<AuthData>, C> where
C: Pop<Option<Authorization>>,
[src]
C: Pop<Option<Authorization>>,
type Result = ContextBuilder<Option<AuthData>, C::Result>
The type that remains after the value has been popped.
fn pop(self) -> (Option<Authorization>, Self::Result)
[src]
impl<C> Pop<XSpanIdString> for ContextBuilder<XSpanIdString, C>
[src]
type Result = C
The type that remains after the value has been popped.
fn pop(self) -> (XSpanIdString, Self::Result)
[src]
impl<C> Pop<XSpanIdString> for ContextBuilder<Option<AuthData>, C> where
C: Pop<XSpanIdString>,
[src]
C: Pop<XSpanIdString>,
type Result = ContextBuilder<Option<AuthData>, C::Result>
The type that remains after the value has been popped.
fn pop(self) -> (XSpanIdString, Self::Result)
[src]
impl<C> Pop<XSpanIdString> for ContextBuilder<Option<Authorization>, C> where
C: Pop<XSpanIdString>,
[src]
C: Pop<XSpanIdString>,
type Result = ContextBuilder<Option<Authorization>, C::Result>
The type that remains after the value has been popped.
fn pop(self) -> (XSpanIdString, Self::Result)
[src]
impl<C, T> Push<Option<AuthData>> for ContextBuilder<T, C>
[src]
type Result = ContextBuilder<Option<AuthData>, Self>
The type that results from adding an item.
fn push(self, item: Option<AuthData>) -> Self::Result
[src]
impl<C, T> Push<Option<Authorization>> for ContextBuilder<T, C>
[src]
type Result = ContextBuilder<Option<Authorization>, Self>
The type that results from adding an item.
fn push(self, item: Option<Authorization>) -> Self::Result
[src]
impl<C, T> Push<XSpanIdString> for ContextBuilder<T, C>
[src]
type Result = ContextBuilder<XSpanIdString, Self>
The type that results from adding an item.
fn push(self, item: XSpanIdString) -> Self::Result
[src]
impl<T, C> StructuralEq for ContextBuilder<T, C>
[src]
impl<T, C> StructuralPartialEq for ContextBuilder<T, C>
[src]
Auto Trait Implementations
impl<T, C> RefUnwindSafe for ContextBuilder<T, C> where
C: RefUnwindSafe,
T: RefUnwindSafe,
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C> Send for ContextBuilder<T, C> where
C: Send,
T: Send,
C: Send,
T: Send,
impl<T, C> Sync for ContextBuilder<T, C> where
C: Sync,
T: Sync,
C: Sync,
T: Sync,
impl<T, C> Unpin for ContextBuilder<T, C> where
C: Unpin,
T: Unpin,
C: Unpin,
T: Unpin,
impl<T, C> UnwindSafe for ContextBuilder<T, C> where
C: UnwindSafe,
T: UnwindSafe,
C: UnwindSafe,
T: 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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RcBound for T where
T: Push<Option<Authorization>> + Send + 'static,
[src]
T: Push<Option<Authorization>> + Send + 'static,
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.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,