Struct twilight_model::channel::message::MessageApplication
source · pub struct MessageApplication {
pub cover_image: Option<ImageHash>,
pub description: String,
pub icon: Option<ImageHash>,
pub id: Id<ApplicationMarker>,
pub name: String,
}Expand description
Partial Application sent with Rich Presence-related chat embeds.
Fields§
§cover_image: Option<ImageHash>Default rich presence invite cover image.
description: StringDescription of the application.
icon: Option<ImageHash>Icon of the application.
id: Id<ApplicationMarker>ID of the application.
name: StringName of the application.
Trait Implementations§
source§impl Clone for MessageApplication
impl Clone for MessageApplication
source§fn clone(&self) -> MessageApplication
fn clone(&self) -> MessageApplication
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 MessageApplication
impl Debug for MessageApplication
source§impl<'de> Deserialize<'de> for MessageApplication
impl<'de> Deserialize<'de> for MessageApplication
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 MessageApplication
impl Hash for MessageApplication
source§impl PartialEq<MessageApplication> for MessageApplication
impl PartialEq<MessageApplication> for MessageApplication
source§fn eq(&self, other: &MessageApplication) -> bool
fn eq(&self, other: &MessageApplication) -> bool
This method tests for
self and other values to be equal, and is used
by ==.