pub struct IntegrationApplication<'a> {
pub id: Snowflake,
pub name: String,
pub icon: Option<String>,
pub description: String,
pub bot: Option<User<'a>>,
}Expand description
Application for a Discord integration.
Fields§
§id: SnowflakeThe ID of the app.
name: StringThe name of the app.
icon: Option<String>The icon hash of the app.
description: StringThe description of the app.
bot: Option<User<'a>>The bot associated with this application.
Trait Implementations§
Source§impl<'a> Clone for IntegrationApplication<'a>
impl<'a> Clone for IntegrationApplication<'a>
Source§fn clone(&self) -> IntegrationApplication<'a>
fn clone(&self) -> IntegrationApplication<'a>
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<'a> Debug for IntegrationApplication<'a>
impl<'a> Debug for IntegrationApplication<'a>
Source§impl<'de, 'a> Deserialize<'de> for IntegrationApplication<'a>
impl<'de, 'a> Deserialize<'de> for IntegrationApplication<'a>
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<'a> Freeze for IntegrationApplication<'a>
impl<'a> RefUnwindSafe for IntegrationApplication<'a>
impl<'a> Send for IntegrationApplication<'a>
impl<'a> Sync for IntegrationApplication<'a>
impl<'a> Unpin for IntegrationApplication<'a>
impl<'a> UnwindSafe for IntegrationApplication<'a>
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