Struct swagger::context::EmptyContext
source · pub struct EmptyContext;
Expand description
Unit struct representing an empty context with no data in it.
Trait Implementations§
source§impl Clone for EmptyContext
impl Clone for EmptyContext
source§fn clone(&self) -> EmptyContext
fn clone(&self) -> EmptyContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EmptyContext
impl Debug for EmptyContext
source§impl Default for EmptyContext
impl Default for EmptyContext
source§fn default() -> EmptyContext
fn default() -> EmptyContext
Returns the “default value” for a type. Read more
source§impl PartialEq<EmptyContext> for EmptyContext
impl PartialEq<EmptyContext> for EmptyContext
source§fn eq(&self, other: &EmptyContext) -> bool
fn eq(&self, other: &EmptyContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Push<Option<Authorization>> for EmptyContext
impl Push<Option<Authorization>> for EmptyContext
§type Result = ContextBuilder<Option<Authorization>, EmptyContext>
type Result = ContextBuilder<Option<Authorization>, EmptyContext>
The type that results from adding an item.
source§impl Push<XSpanIdString> for EmptyContext
impl Push<XSpanIdString> for EmptyContext
§type Result = ContextBuilder<XSpanIdString, EmptyContext>
type Result = ContextBuilder<XSpanIdString, EmptyContext>
The type that results from adding an item.
source§fn push(self, item: XSpanIdString) -> Self::Result
fn push(self, item: XSpanIdString) -> Self::Result
Inserts a value.
impl Eq for EmptyContext
impl StructuralEq for EmptyContext
impl StructuralPartialEq for EmptyContext
Auto Trait Implementations§
impl RefUnwindSafe for EmptyContext
impl Send for EmptyContext
impl Sync for EmptyContext
impl Unpin for EmptyContext
impl UnwindSafe for EmptyContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.