pub struct SetTimeDomainParams<'a> { /* private fields */ }Expand description
Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.
Implementations§
Source§impl<'a> SetTimeDomainParams<'a>
impl<'a> SetTimeDomainParams<'a>
pub fn builder( timeDomain: impl Into<Cow<'a, str>>, ) -> SetTimeDomainParamsBuilder<'a>
pub fn timeDomain(&self) -> &str
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetTimeDomainParams<'a>
impl<'a> CdpCommand<'a> for SetTimeDomainParams<'a>
Source§impl<'a> Clone for SetTimeDomainParams<'a>
impl<'a> Clone for SetTimeDomainParams<'a>
Source§fn clone(&self) -> SetTimeDomainParams<'a>
fn clone(&self) -> SetTimeDomainParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetTimeDomainParams<'a>
impl<'a> Debug for SetTimeDomainParams<'a>
Source§impl<'a> Default for SetTimeDomainParams<'a>
impl<'a> Default for SetTimeDomainParams<'a>
Source§fn default() -> SetTimeDomainParams<'a>
fn default() -> SetTimeDomainParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetTimeDomainParams<'a>
impl<'de, 'a> Deserialize<'de> for SetTimeDomainParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for SetTimeDomainParams<'a>
impl<'a> RefUnwindSafe for SetTimeDomainParams<'a>
impl<'a> Send for SetTimeDomainParams<'a>
impl<'a> Sync for SetTimeDomainParams<'a>
impl<'a> Unpin for SetTimeDomainParams<'a>
impl<'a> UnsafeUnpin for SetTimeDomainParams<'a>
impl<'a> UnwindSafe for SetTimeDomainParams<'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