pub struct BotDescription {
pub description: String,
}Expand description
The bot’s description shown in the chat when the chat is empty.
Returned by getMyDescription.
Fields§
§description: StringThe bot’s description.
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
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