Struct dipstick::Namespace [−][src]
pub struct Namespace(_);
A list of parts of a metric's name.
Methods
impl Namespace
[src]
impl Namespace
pub fn subspace_of(self, parent: &Namespace) -> Self
[src]
pub fn subspace_of(self, parent: &Namespace) -> Self
Make this namespace a subspace of the parent.
pub fn join(&self, separator: &str) -> String
[src]
pub fn join(&self, separator: &str) -> String
Combine name parts into a string.
Trait Implementations
impl Debug for Namespace
[src]
impl Debug for Namespace
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Namespace
[src]
impl Clone for Namespace
fn clone(&self) -> Namespace
[src]
fn clone(&self) -> Namespace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> From<&'a str> for Namespace
[src]
impl<'a> From<&'a str> for Namespace
impl From<String> for Namespace
[src]
impl From<String> for Namespace
impl<'a, 'b: 'a> From<&'b [&'a str]> for Namespace
[src]
impl<'a, 'b: 'a> From<&'b [&'a str]> for Namespace