pub struct MessageActivity {
pub kind: MessageActivityType,
pub party_id: Option<String>,
}
Expand description
Activity associated with a message.
Fields§
§kind: MessageActivityType
§party_id: Option<String>
ID of the player’s party, lobby or group.
Trait Implementations§
source§impl Clone for MessageActivity
impl Clone for MessageActivity
source§fn clone(&self) -> MessageActivity
fn clone(&self) -> MessageActivity
Returns a copy 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 MessageActivity
impl Debug for MessageActivity
source§impl<'de> Deserialize<'de> for MessageActivity
impl<'de> Deserialize<'de> for MessageActivity
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 Hash for MessageActivity
impl Hash for MessageActivity
source§impl PartialEq for MessageActivity
impl PartialEq for MessageActivity
source§impl Serialize for MessageActivity
impl Serialize for MessageActivity
impl Eq for MessageActivity
impl StructuralPartialEq for MessageActivity
Auto Trait Implementations§
impl Freeze for MessageActivity
impl RefUnwindSafe for MessageActivity
impl Send for MessageActivity
impl Sync for MessageActivity
impl Unpin for MessageActivity
impl UnwindSafe for MessageActivity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)