pub struct PresenceActivity {
pub type: Option<String>,
pub properties: Option<Value>,
}Expand description
Activity details within a presence payload.
Fields§
§type: Option<String>§properties: Option<Value>Trait Implementations§
Source§impl Clone for PresenceActivity
impl Clone for PresenceActivity
Source§fn clone(&self) -> PresenceActivity
fn clone(&self) -> PresenceActivity
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 PresenceActivity
impl Debug for PresenceActivity
Source§impl Default for PresenceActivity
impl Default for PresenceActivity
Source§fn default() -> PresenceActivity
fn default() -> PresenceActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresenceActivity
impl<'de> Deserialize<'de> for PresenceActivity
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 PartialEq for PresenceActivity
impl PartialEq for PresenceActivity
Source§impl Serialize for PresenceActivity
impl Serialize for PresenceActivity
impl StructuralPartialEq for PresenceActivity
Auto Trait Implementations§
impl Freeze for PresenceActivity
impl RefUnwindSafe for PresenceActivity
impl Send for PresenceActivity
impl Sync for PresenceActivity
impl Unpin for PresenceActivity
impl UnsafeUnpin for PresenceActivity
impl UnwindSafe for PresenceActivity
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