[][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 Copy for ServiceCheckOptions[src]

impl Default 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

impl Unpin for ServiceCheckOptions

impl Sync for ServiceCheckOptions

impl Send for ServiceCheckOptions

impl UnwindSafe for ServiceCheckOptions

impl RefUnwindSafe for ServiceCheckOptions

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

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

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