Struct dogstatsd::ServiceCheckOptions
source · pub struct ServiceCheckOptions {
pub timestamp: Option<i32>,
pub hostname: Option<&'static str>,
pub message: Option<&'static 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<&'static str>
An optional hostname to include with the check
message: Option<&'static str>
An optional message to include with the check
Trait Implementations§
source§impl Clone for ServiceCheckOptions
impl Clone for ServiceCheckOptions
source§fn clone(&self) -> ServiceCheckOptions
fn clone(&self) -> ServiceCheckOptions
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 Debug for ServiceCheckOptions
impl Debug for ServiceCheckOptions
source§impl Default for ServiceCheckOptions
impl Default for ServiceCheckOptions
source§fn default() -> ServiceCheckOptions
fn default() -> ServiceCheckOptions
Returns the “default value” for a type. Read more
impl Copy for ServiceCheckOptions
Auto Trait Implementations§
impl RefUnwindSafe for ServiceCheckOptions
impl Send for ServiceCheckOptions
impl Sync for ServiceCheckOptions
impl Unpin for ServiceCheckOptions
impl UnwindSafe for ServiceCheckOptions
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