pub struct ActivityScope {
pub scope_ref: String,
pub epoch: u64,
}Expand description
A live scope owned by the recording module, checked at this epoch.
Fields§
§scope_ref: String§epoch: u64Trait Implementations§
Source§impl Clone for ActivityScope
impl Clone for ActivityScope
Source§fn clone(&self) -> ActivityScope
fn clone(&self) -> ActivityScope
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 Debug for ActivityScope
impl Debug for ActivityScope
Source§impl<'de> Deserialize<'de> for ActivityScope
impl<'de> Deserialize<'de> for ActivityScope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActivityScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActivityScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ActivityScope
Source§impl PartialEq for ActivityScope
impl PartialEq for ActivityScope
Source§impl Serialize for ActivityScope
impl Serialize for ActivityScope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ActivityScope
Auto Trait Implementations§
impl Forget for ActivityScope
impl Freeze for ActivityScope
impl Move for ActivityScope
impl RefUnwindSafe for ActivityScope
impl Send for ActivityScope
impl Sync for ActivityScope
impl Unpin for ActivityScope
impl UnsafeUnpin for ActivityScope
impl UnwindSafe for ActivityScope
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