pub struct CurrentApplication {
pub id: Snowflake,
pub name: String,
pub icon: Option<String>,
pub description: String,
pub bot_public: bool,
pub bot_require_code_grant: bool,
pub flags: Option<u64>,
}Expand description
Response from GET /applications/@me.
Fields§
§id: Snowflake§name: String§icon: Option<String>§description: String§bot_public: bool§bot_require_code_grant: bool§flags: Option<u64>Trait Implementations§
Source§impl Clone for CurrentApplication
impl Clone for CurrentApplication
Source§fn clone(&self) -> CurrentApplication
fn clone(&self) -> CurrentApplication
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 Debug for CurrentApplication
impl Debug for CurrentApplication
Source§impl<'de> Deserialize<'de> for CurrentApplication
impl<'de> Deserialize<'de> for CurrentApplication
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 CurrentApplication
impl RefUnwindSafe for CurrentApplication
impl Send for CurrentApplication
impl Sync for CurrentApplication
impl Unpin for CurrentApplication
impl UnwindSafe for CurrentApplication
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