pub struct EnableParams {
pub time_domain: Option<EnableTimeDomain>,
}Expand description
Enable collecting and reporting metrics. enable
Fields§
§time_domain: Option<EnableTimeDomain>Time domain to use for collecting and reporting duration metrics.
Trait Implementations§
Source§impl Clone for EnableParams
impl Clone for EnableParams
Source§fn clone(&self) -> EnableParams
fn clone(&self) -> EnableParams
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 EnableParams
impl Debug for EnableParams
Source§impl Default for EnableParams
impl Default for EnableParams
Source§fn default() -> EnableParams
fn default() -> EnableParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnableParams
impl<'de> Deserialize<'de> for EnableParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EnableParams
impl PartialEq for EnableParams
Source§impl Serialize for EnableParams
impl Serialize for EnableParams
impl StructuralPartialEq for EnableParams
Auto Trait Implementations§
impl Freeze for EnableParams
impl RefUnwindSafe for EnableParams
impl Send for EnableParams
impl Sync for EnableParams
impl Unpin for EnableParams
impl UnsafeUnpin for EnableParams
impl UnwindSafe for EnableParams
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