pub struct EnablePayloads {
pub events: bool,
pub series: bool,
pub service_checks: bool,
pub sketches: bool,
}Expand description
Which payload types are emitted.
Fields§
§events: boolWhether event payloads are emitted.
series: boolWhether series (metric) payloads are emitted.
service_checks: boolWhether service-check payloads are emitted.
sketches: boolWhether sketch (distribution) payloads are emitted.
Trait Implementations§
Source§impl Clone for EnablePayloads
impl Clone for EnablePayloads
Source§fn clone(&self) -> EnablePayloads
fn clone(&self) -> EnablePayloads
Returns a duplicate 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 EnablePayloads
impl Debug for EnablePayloads
Source§impl Default for EnablePayloads
impl Default for EnablePayloads
Source§fn default() -> EnablePayloads
fn default() -> EnablePayloads
Returns the “default value” for a type. Read more
Source§impl PartialEq for EnablePayloads
impl PartialEq for EnablePayloads
Source§impl Serialize for EnablePayloads
impl Serialize for EnablePayloads
impl StructuralPartialEq for EnablePayloads
Auto Trait Implementations§
impl Freeze for EnablePayloads
impl RefUnwindSafe for EnablePayloads
impl Send for EnablePayloads
impl Sync for EnablePayloads
impl Unpin for EnablePayloads
impl UnwindSafe for EnablePayloads
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