pub struct ManagedBotCreated {
pub bot: User,
}Expand description
Service message: a new bot was created to be managed by the current bot.
Delivered inside Message via the
managed_bot_created field. The bot’s token can be fetched with
getManagedBotToken.
Fields§
§bot: UserInformation about the newly created managed bot.
Trait Implementations§
Source§impl Clone for ManagedBotCreated
impl Clone for ManagedBotCreated
Source§fn clone(&self) -> ManagedBotCreated
fn clone(&self) -> ManagedBotCreated
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 ManagedBotCreated
impl Debug for ManagedBotCreated
Source§impl<'de> Deserialize<'de> for ManagedBotCreated
impl<'de> Deserialize<'de> for ManagedBotCreated
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 ManagedBotCreated
impl RefUnwindSafe for ManagedBotCreated
impl Send for ManagedBotCreated
impl Sync for ManagedBotCreated
impl Unpin for ManagedBotCreated
impl UnsafeUnpin for ManagedBotCreated
impl UnwindSafe for ManagedBotCreated
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