pub struct BotDescription {
pub description: String,
}Expand description
Represents a description of a bot.
Fields§
§description: StringThe description of the bot.
Implementations§
Trait Implementations§
Source§impl Clone for BotDescription
impl Clone for BotDescription
Source§fn clone(&self) -> BotDescription
fn clone(&self) -> BotDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BotDescription
impl Debug for BotDescription
Source§impl<'de> Deserialize<'de> for BotDescription
impl<'de> Deserialize<'de> for BotDescription
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 PartialEq for BotDescription
impl PartialEq for BotDescription
Source§fn eq(&self, other: &BotDescription) -> bool
fn eq(&self, other: &BotDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BotDescription
impl PartialOrd for BotDescription
Source§impl Serialize for BotDescription
impl Serialize for BotDescription
impl StructuralPartialEq for BotDescription
Auto Trait Implementations§
impl Freeze for BotDescription
impl RefUnwindSafe for BotDescription
impl Send for BotDescription
impl Sync for BotDescription
impl Unpin for BotDescription
impl UnsafeUnpin for BotDescription
impl UnwindSafe for BotDescription
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