Struct swagger::context::ContextBuilder [] [src]

pub struct ContextBuilder<T, C> { /* fields omitted */ }

Wrapper type for building up contexts recursively, adding one item to the context at a time.

Trait Implementations

impl<T: Debug, C: Debug> Debug for ContextBuilder<T, C>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Clone, C: Clone> Clone for ContextBuilder<T, C>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Default, C: Default> Default for ContextBuilder<T, C>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T: PartialEq, C: PartialEq> PartialEq for ContextBuilder<T, C>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Eq, C: Eq> Eq for ContextBuilder<T, C>
[src]

impl<T, C> Has<T> for ContextBuilder<T, C>
[src]

[src]

Set the value.

Important traits for &'a mut W
[src]

Get an immutable reference to the value.

Important traits for &'a mut W
[src]

Get a mutable reference to the value.

impl<T, C> Pop<T> for ContextBuilder<T, C>
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

impl<C, T, U> Push<U> for ContextBuilder<T, C>
[src]

The type that results from adding an item.

[src]

Inserts a value.

impl<C: Has<XSpanIdString>> Has<XSpanIdString> for ContextBuilder<Option<AuthData>, C>
[src]

[src]

Set the value.

[src]

Get an immutable reference to the value.

[src]

Get a mutable reference to the value.

impl<C: Has<Option<AuthData>>> Has<Option<AuthData>> for ContextBuilder<XSpanIdString, C>
[src]

[src]

Set the value.

[src]

Get an immutable reference to the value.

[src]

Get a mutable reference to the value.

impl<C> Pop<XSpanIdString> for ContextBuilder<Option<AuthData>, C> where
    C: Pop<XSpanIdString>, 
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

impl<C> Pop<Option<AuthData>> for ContextBuilder<XSpanIdString, C> where
    C: Pop<Option<AuthData>>, 
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

impl<C: Has<XSpanIdString>> Has<XSpanIdString> for ContextBuilder<Option<Authorization>, C>
[src]

[src]

Set the value.

[src]

Get an immutable reference to the value.

[src]

Get a mutable reference to the value.

impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<XSpanIdString, C>
[src]

[src]

Set the value.

[src]

Get an immutable reference to the value.

[src]

Get a mutable reference to the value.

impl<C> Pop<XSpanIdString> for ContextBuilder<Option<Authorization>, C> where
    C: Pop<XSpanIdString>, 
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

impl<C> Pop<Option<Authorization>> for ContextBuilder<XSpanIdString, C> where
    C: Pop<Option<Authorization>>, 
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

impl<C: Has<Option<AuthData>>> Has<Option<AuthData>> for ContextBuilder<Option<Authorization>, C>
[src]

[src]

Set the value.

[src]

Get an immutable reference to the value.

[src]

Get a mutable reference to the value.

impl<C: Has<Option<Authorization>>> Has<Option<Authorization>> for ContextBuilder<Option<AuthData>, C>
[src]

[src]

Set the value.

[src]

Get an immutable reference to the value.

[src]

Get a mutable reference to the value.

impl<C> Pop<Option<AuthData>> for ContextBuilder<Option<Authorization>, C> where
    C: Pop<Option<AuthData>>, 
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

impl<C> Pop<Option<Authorization>> for ContextBuilder<Option<AuthData>, C> where
    C: Pop<Option<Authorization>>, 
[src]

The type that remains after the value has been popped.

[src]

Extracts a value.

Auto Trait Implementations

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