pub struct GetBotInfo {
pub bot: Option<InputUser>,
pub lang_code: String,
}Expand description
Generated from:
bots.getBotInfo#dcd914fd flags:# bot:flags.0?InputUser lang_code:string = bots.BotInfoFields§
§bot: Option<InputUser>§lang_code: StringTrait Implementations§
Source§impl Clone for GetBotInfo
impl Clone for GetBotInfo
Source§fn clone(&self) -> GetBotInfo
fn clone(&self) -> GetBotInfo
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 GetBotInfo
impl Debug for GetBotInfo
Source§impl Identifiable for GetBotInfo
impl Identifiable for GetBotInfo
Source§const CONSTRUCTOR_ID: u32 = 0xdcd914fd
const CONSTRUCTOR_ID: u32 = 0xdcd914fd
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetBotInfo
impl PartialEq for GetBotInfo
Source§impl RemoteCall for GetBotInfo
impl RemoteCall for GetBotInfo
Source§impl Serializable for GetBotInfo
impl Serializable for GetBotInfo
impl StructuralPartialEq for GetBotInfo
Auto Trait Implementations§
impl Freeze for GetBotInfo
impl RefUnwindSafe for GetBotInfo
impl Send for GetBotInfo
impl Sync for GetBotInfo
impl Unpin for GetBotInfo
impl UnsafeUnpin for GetBotInfo
impl UnwindSafe for GetBotInfo
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