Struct swagger::context::ContextBuilder [−][src]
pub struct ContextBuilder<T, C> { /* fields omitted */ }Expand description
Wrapper type for building up contexts recursively, adding one item to the context at a time.
Trait Implementations
Returns the “default value” for a type. Read more
impl<C: Has<Option<AuthData>>> Has<Option<AuthData>> for ContextBuilder<Option<Authorization>, C>[src]
impl<C: Has<Option<AuthData>>> Has<Option<AuthData>> for ContextBuilder<Option<Authorization>, C>[src]Set the value.
Get an immutable reference to the value.
Get a mutable reference to the value.
impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<XSpanIdString, C>[src]
impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<XSpanIdString, C>[src]Set the value.
Get an immutable reference to the value.
Get a mutable reference to the value.
impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<Option<AuthData>, C>[src]
impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<Option<AuthData>, C>[src]Set the value.
Get an immutable reference to the value.
Get a mutable reference to the value.
Set the value.
Get an immutable reference to the value.
Get a mutable reference to the value.
Set the value.
Get an immutable reference to the value.
Get a mutable reference to the value.
Set the value.
Get an immutable reference to the value.
Get a mutable reference to the value.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
impl<C> Pop<Option<AuthData>> for ContextBuilder<XSpanIdString, C> where
C: Pop<Option<AuthData>>, [src]
impl<C> Pop<Option<AuthData>> for ContextBuilder<XSpanIdString, C> where
C: Pop<Option<AuthData>>, [src]impl<C> Pop<Option<AuthData>> for ContextBuilder<Option<Authorization>, C> where
C: Pop<Option<AuthData>>, [src]
impl<C> Pop<Option<AuthData>> for ContextBuilder<Option<Authorization>, C> where
C: Pop<Option<AuthData>>, [src]impl<C> Pop<Option<Authorization>> for ContextBuilder<XSpanIdString, C> where
C: Pop<Option<Authorization>>, [src]
impl<C> Pop<Option<Authorization>> for ContextBuilder<XSpanIdString, C> where
C: Pop<Option<Authorization>>, [src]type Result = ContextBuilder<XSpanIdString, C::Result>
type Result = ContextBuilder<XSpanIdString, C::Result>The type that remains after the value has been popped.
impl<C> Pop<Option<Authorization>> for ContextBuilder<Option<AuthData>, C> where
C: Pop<Option<Authorization>>, [src]
impl<C> Pop<Option<Authorization>> for ContextBuilder<Option<AuthData>, C> where
C: Pop<Option<Authorization>>, [src]impl<C> Pop<XSpanIdString> for ContextBuilder<Option<AuthData>, C> where
C: Pop<XSpanIdString>, [src]
impl<C> Pop<XSpanIdString> for ContextBuilder<Option<AuthData>, C> where
C: Pop<XSpanIdString>, [src]impl<C> Pop<XSpanIdString> for ContextBuilder<Option<Authorization>, C> where
C: Pop<XSpanIdString>, [src]
impl<C> Pop<XSpanIdString> for ContextBuilder<Option<Authorization>, C> where
C: Pop<XSpanIdString>, [src]type Result = ContextBuilder<Option<Authorization>, C::Result>
type Result = ContextBuilder<Option<Authorization>, C::Result>The type that remains after the value has been popped.
type Result = ContextBuilder<Option<Authorization>, Self>
type Result = ContextBuilder<Option<Authorization>, Self>The type that results from adding an item.
Inserts a value.
type Result = ContextBuilder<XSpanIdString, Self>
type Result = ContextBuilder<XSpanIdString, Self>The type that results from adding an item.
Inserts a value.
Auto Trait Implementations
impl<T, C> RefUnwindSafe for ContextBuilder<T, C> where
C: RefUnwindSafe,
T: RefUnwindSafe, impl<T, C> Send for ContextBuilder<T, C> where
C: Send,
T: Send, impl<T, C> Sync for ContextBuilder<T, C> where
C: Sync,
T: Sync, impl<T, C> Unpin for ContextBuilder<T, C> where
C: Unpin,
T: Unpin, impl<T, C> UnwindSafe for ContextBuilder<T, C> where
C: UnwindSafe,
T: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more