Struct dogstatsd::ServiceCheckOptions
source · pub struct ServiceCheckOptions<'a> {
pub timestamp: Option<i32>,
pub hostname: Option<&'a str>,
pub message: Option<&'a str>,
}Expand description
Struct for adding optional pieces to a service check
Fields§
§timestamp: Option<i32>An optional timestamp to include with the check
hostname: Option<&'a str>An optional hostname to include with the check
message: Option<&'a str>An optional message to include with the check
Trait Implementations§
source§impl<'a> Clone for ServiceCheckOptions<'a>
impl<'a> Clone for ServiceCheckOptions<'a>
source§fn clone(&self) -> ServiceCheckOptions<'a>
fn clone(&self) -> ServiceCheckOptions<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for ServiceCheckOptions<'a>
impl<'a> Debug for ServiceCheckOptions<'a>
source§impl<'a> Default for ServiceCheckOptions<'a>
impl<'a> Default for ServiceCheckOptions<'a>
source§fn default() -> ServiceCheckOptions<'a>
fn default() -> ServiceCheckOptions<'a>
Returns the “default value” for a type. Read more
impl<'a> Copy for ServiceCheckOptions<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ServiceCheckOptions<'a>
impl<'a> Send for ServiceCheckOptions<'a>
impl<'a> Sync for ServiceCheckOptions<'a>
impl<'a> Unpin for ServiceCheckOptions<'a>
impl<'a> UnwindSafe for ServiceCheckOptions<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more