pub struct SetTimeDomainCommand { /* private fields */ }👎Deprecated
Available on crate features
Performance and experimental only.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 SetTimeDomainCommand
impl SetTimeDomainCommand
pub fn new(time_domain: SetTimeDomainCommandTimeDomain) -> Self
👎Deprecated
Sourcepub fn time_domain(&self) -> &SetTimeDomainCommandTimeDomain
👎Deprecated
pub fn time_domain(&self) -> &SetTimeDomainCommandTimeDomain
Time domain
Trait Implementations§
Source§impl Clone for SetTimeDomainCommand
impl Clone for SetTimeDomainCommand
Source§fn clone(&self) -> SetTimeDomainCommand
fn clone(&self) -> SetTimeDomainCommand
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 Command for SetTimeDomainCommand
impl Command for SetTimeDomainCommand
Source§impl Debug for SetTimeDomainCommand
impl Debug for SetTimeDomainCommand
Source§impl Deref for SetTimeDomainCommand
impl Deref for SetTimeDomainCommand
Source§impl<'de> Deserialize<'de> for SetTimeDomainCommand
impl<'de> Deserialize<'de> for SetTimeDomainCommand
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 Freeze for SetTimeDomainCommand
impl RefUnwindSafe for SetTimeDomainCommand
impl Send for SetTimeDomainCommand
impl Sync for SetTimeDomainCommand
impl Unpin for SetTimeDomainCommand
impl UnwindSafe for SetTimeDomainCommand
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