pub struct ActivitySpec { /* private fields */ }Expand description
A complete Rich Presence activity which can be sent to crate::PresenceClient::set_activity.
Trait Implementations§
Source§impl Clone for ActivitySpec
impl Clone for ActivitySpec
Source§fn clone(&self) -> ActivitySpec
fn clone(&self) -> ActivitySpec
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 Default for ActivitySpec
impl Default for ActivitySpec
Source§fn default() -> ActivitySpec
fn default() -> ActivitySpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActivitySpec
impl RefUnwindSafe for ActivitySpec
impl Send for ActivitySpec
impl Sync for ActivitySpec
impl Unpin for ActivitySpec
impl UnsafeUnpin for ActivitySpec
impl UnwindSafe for ActivitySpec
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