pub struct ActivityResponseData {
pub application_id: String,
pub platform: String,
pub name: String,
pub metadata: Value,
}Expand description
Data received in response from the server after sending a SET_ACTIVITY command.
Note that this struct doesn’t fully cover the schema of the actual response since most of the fields that are found are the same as the actual activity that is sent.
Fields§
§application_id: String§platform: String§name: String§metadata: ValueTrait Implementations§
Source§impl Clone for ActivityResponseData
impl Clone for ActivityResponseData
Source§fn clone(&self) -> ActivityResponseData
fn clone(&self) -> ActivityResponseData
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 ActivityResponseData
impl Debug for ActivityResponseData
Source§impl<'de> Deserialize<'de> for ActivityResponseData
impl<'de> Deserialize<'de> for ActivityResponseData
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
Auto Trait Implementations§
impl Freeze for ActivityResponseData
impl RefUnwindSafe for ActivityResponseData
impl Send for ActivityResponseData
impl Sync for ActivityResponseData
impl Unpin for ActivityResponseData
impl UnsafeUnpin for ActivityResponseData
impl UnwindSafe for ActivityResponseData
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