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