pub struct ActivityId(pub u64);Expand description
Identifies one activity for its whole life, across the daemon and the UI.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ActivityId
impl Clone for ActivityId
Source§fn clone(&self) -> ActivityId
fn clone(&self) -> ActivityId
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 moreimpl Copy for ActivityId
Source§impl Debug for ActivityId
impl Debug for ActivityId
Source§impl<'de> Deserialize<'de> for ActivityId
impl<'de> Deserialize<'de> for ActivityId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActivityId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActivityId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ActivityId
impl Display for ActivityId
impl Eq for ActivityId
Source§impl Hash for ActivityId
impl Hash for ActivityId
Source§impl Ord for ActivityId
impl Ord for ActivityId
Source§fn cmp(&self, other: &ActivityId) -> Ordering
fn cmp(&self, other: &ActivityId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActivityId
impl PartialEq for ActivityId
Source§impl PartialOrd for ActivityId
impl PartialOrd for ActivityId
Source§impl Serialize for ActivityId
impl Serialize for ActivityId
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 ActivityId
Auto Trait Implementations§
impl Freeze for ActivityId
impl RefUnwindSafe for ActivityId
impl Send for ActivityId
impl Sync for ActivityId
impl Unpin for ActivityId
impl UnsafeUnpin for ActivityId
impl UnwindSafe for ActivityId
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