pub struct ManagedBotCreated {
pub bot_user: User,
pub extra: BTreeMap<String, Value>,
}Expand description
This object contains information about the bot that was created to be managed by the current bot.
Fields§
§bot_user: UserInformation about the bot. The bot’s token can be fetched using the method getManagedBotToken.
extra: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for ManagedBotCreated
impl Clone for ManagedBotCreated
Source§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
Source§impl PartialEq for ManagedBotCreated
impl PartialEq for ManagedBotCreated
Source§impl Serialize for ManagedBotCreated
impl Serialize for ManagedBotCreated
impl StructuralPartialEq for ManagedBotCreated
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