pub struct HttpLabels {
pub method: String,
pub status: String,
pub host: String,
}Expand description
Metrics labels for HTTP requests
Fields§
§method: StringHTTP method
status: StringHTTP status code
host: StringTarget host
Trait Implementations§
Source§impl Clone for HttpLabels
impl Clone for HttpLabels
Source§fn clone(&self) -> HttpLabels
fn clone(&self) -> HttpLabels
Returns a duplicate 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 HttpLabels
impl Debug for HttpLabels
Source§impl EncodeLabelSet for HttpLabels
impl EncodeLabelSet for HttpLabels
Source§impl Hash for HttpLabels
impl Hash for HttpLabels
Source§impl PartialEq for HttpLabels
impl PartialEq for HttpLabels
impl Eq for HttpLabels
impl StructuralPartialEq for HttpLabels
Auto Trait Implementations§
impl Freeze for HttpLabels
impl RefUnwindSafe for HttpLabels
impl Send for HttpLabels
impl Sync for HttpLabels
impl Unpin for HttpLabels
impl UnsafeUnpin for HttpLabels
impl UnwindSafe for HttpLabels
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.