[][src]Struct logdna_client::params::Tags

pub struct Tags { /* fields omitted */ }

Defines a comma separated list of tags, e.g this,is,a,test

Methods

impl Tags[src]

pub fn new() -> Self[src]

Constructs an empty instance

pub fn parse<T: Into<String>>(tags: T) -> Self[src]

Parses a comma separated list of tags into a Tags instance, e.g this,is,a,test

pub fn add<T: Into<String>>(&mut self, tag: T) -> &mut Self[src]

Manually adds a tag to the list of tags

Trait Implementations

impl Clone for Tags[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<String> for Tags[src]

impl<'a> From<&'a str> for Tags[src]

impl From<Vec<String>> for Tags[src]

impl PartialEq<Tags> for Tags[src]

impl Eq for Tags[src]

impl Debug for Tags[src]

impl Serialize for Tags[src]

impl<'de> Deserialize<'de> for Tags[src]

Auto Trait Implementations

impl Sync for Tags

impl Send for Tags

impl Unpin for Tags

impl RefUnwindSafe for Tags

impl UnwindSafe for Tags

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]