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: String
Description of the application.
icon: Option<ImageHash>
Icon of the application.
id: Id<ApplicationMarker>
ID of the application.
name: String
Name 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 for MessageApplication
impl PartialEq for MessageApplication
source§impl Serialize for MessageApplication
impl Serialize for MessageApplication
impl Eq for MessageApplication
impl StructuralPartialEq for MessageApplication
Auto Trait Implementations§
impl Freeze for MessageApplication
impl RefUnwindSafe for MessageApplication
impl Send for MessageApplication
impl Sync for MessageApplication
impl Unpin for MessageApplication
impl UnwindSafe for MessageApplication
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
)