pub struct BotInformation {
pub owner: String,
}
Expand description
Bot information for if the user is a bot
Fields§
§owner: String
Id of the owner of this bot
Trait Implementations§
Source§impl Clone for BotInformation
impl Clone for BotInformation
Source§fn clone(&self) -> BotInformation
fn clone(&self) -> BotInformation
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 BotInformation
impl Debug for BotInformation
Source§impl<'de> Deserialize<'de> for BotInformation
impl<'de> Deserialize<'de> for BotInformation
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 BotInformation
impl RefUnwindSafe for BotInformation
impl Send for BotInformation
impl Sync for BotInformation
impl Unpin for BotInformation
impl UnwindSafe for BotInformation
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