Struct swagger::XSpanIdString [] [src]

pub struct XSpanIdString(pub String);

Wrapper for a string being used as an X-Span-ID.

Methods

impl XSpanIdString
[src]

[src]

Extract an X-Span-ID from a request header if present, and if not generate a new one.

Trait Implementations

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> 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: 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> 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 Debug for XSpanIdString
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for XSpanIdString
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for XSpanIdString
[src]

[src]

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

impl Display for XSpanIdString
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for XSpanIdString

impl Sync for XSpanIdString