pub struct BotInformation {
pub owner: UserId,
}Expand description
Bot information
Fields§
§owner: UserIdThe User 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
Source§impl Hash for BotInformation
impl Hash for BotInformation
Source§impl Ord for BotInformation
impl Ord for BotInformation
Source§fn cmp(&self, other: &BotInformation) -> Ordering
fn cmp(&self, other: &BotInformation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BotInformation
impl PartialEq for BotInformation
Source§impl PartialOrd for BotInformation
impl PartialOrd for BotInformation
Source§impl Serialize for BotInformation
impl Serialize for BotInformation
impl Eq for BotInformation
impl StructuralPartialEq for BotInformation
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