pub struct SetTimeDomain {
pub time_domain: SetTimeDomainTimeDomainOption,
}๐Deprecated
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.
Fieldsยง
ยงtime_domain: SetTimeDomainTimeDomainOption๐Deprecated
Time domain
Trait Implementationsยง
Sourceยงimpl Clone for SetTimeDomain
impl Clone for SetTimeDomain
Sourceยงfn clone(&self) -> SetTimeDomain
fn clone(&self) -> SetTimeDomain
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 SetTimeDomain
impl Debug for SetTimeDomain
Sourceยงimpl<'de> Deserialize<'de> for SetTimeDomain
impl<'de> Deserialize<'de> for SetTimeDomain
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 Method for SetTimeDomain
impl Method for SetTimeDomain
const NAME: &'static str = "Performance.setTimeDomain"
type ReturnObject = SetTimeDomainReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Sourceยงimpl PartialEq for SetTimeDomain
impl PartialEq for SetTimeDomain
Sourceยงimpl Serialize for SetTimeDomain
impl Serialize for SetTimeDomain
impl StructuralPartialEq for SetTimeDomain
Auto Trait Implementationsยง
impl Freeze for SetTimeDomain
impl RefUnwindSafe for SetTimeDomain
impl Send for SetTimeDomain
impl Sync for SetTimeDomain
impl Unpin for SetTimeDomain
impl UnsafeUnpin for SetTimeDomain
impl UnwindSafe for SetTimeDomain
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