[][src]Struct dogstatsd::ServiceCheckOptions

pub struct ServiceCheckOptions {
    pub timestamp: Option<i32>,
    pub hostname: Option<&'static str>,
    pub message: Option<&'static str>,
}

Struct for adding optional pieces to a service check

Fields

timestamp: Option<i32>

An optional timestamp to include with the check

hostname: Option<&'static str>

An optional hostname to include with the check

message: Option<&'static str>

An optional message to include with the check

Trait Implementations

impl Default for ServiceCheckOptions[src]

impl Copy for ServiceCheckOptions[src]

impl Clone for ServiceCheckOptions[src]

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

Performs copy-assignment from source. Read more

impl Debug for ServiceCheckOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]