pub struct RequestLabel(String);Expand description
The method and path of a request, as it appears in an error.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for RequestLabel
impl Clone for RequestLabel
Source§fn clone(&self) -> RequestLabel
fn clone(&self) -> RequestLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RequestLabel
impl Debug for RequestLabel
Source§impl Display for RequestLabel
impl Display for RequestLabel
impl Eq for RequestLabel
Source§impl PartialEq for RequestLabel
impl PartialEq for RequestLabel
impl StructuralPartialEq for RequestLabel
Auto Trait Implementations§
impl Freeze for RequestLabel
impl RefUnwindSafe for RequestLabel
impl Send for RequestLabel
impl Sync for RequestLabel
impl Unpin for RequestLabel
impl UnsafeUnpin for RequestLabel
impl UnwindSafe for RequestLabel
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.