[][src]Struct witchcraft_metrics::Tags

pub struct Tags(_);

The tags associated with a metric ID.

Implementations

impl Tags[src]

pub fn iter(&self) -> TagsIter<'_>

Notable traits for TagsIter<'a>

impl<'a> Iterator for TagsIter<'a> type Item = (&'a str, &'a str);
[src]

Returns an iterator over the tags.

Trait Implementations

impl Clone for Tags[src]

impl Debug for Tags[src]

impl Eq for Tags[src]

impl Hash for Tags[src]

impl<'a> IntoIterator for &'a Tags[src]

type Item = (&'a str, &'a str)

The type of the elements being iterated over.

type IntoIter = TagsIter<'a>

Which kind of iterator are we turning this into?

impl Ord for Tags[src]

impl PartialEq<Tags> for Tags[src]

impl PartialOrd<Tags> for Tags[src]

impl StructuralEq for Tags[src]

impl StructuralPartialEq for Tags[src]

Auto Trait Implementations

impl RefUnwindSafe for Tags

impl Send for Tags

impl Sync for Tags

impl Unpin for Tags

impl UnwindSafe for Tags

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,