Struct prometrics::label::LabelsMut [] [src]

pub struct LabelsMut<'a> { /* fields omitted */ }

A mutable map of labels (i.e., key-value pairs).

Methods

impl<'a> LabelsMut<'a>
[src]

[src]

Inserts the label.

[src]

Removes the label which has the name name if it exists.

[src]

Clears the all labels.

Methods from Deref<Target = Labels>

[src]

Returns the number of labels contained in this map.

[src]

Returns true if this map has no labels, otherwise false.

[src]

Returns the label which has the name name.

Important traits for Iter<'a>
[src]

Returns an iterator which visiting all labels in this map.

Trait Implementations

impl<'a> Debug for LabelsMut<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Deref for LabelsMut<'a>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

Auto Trait Implementations

impl<'a> Send for LabelsMut<'a>

impl<'a> Sync for LabelsMut<'a>