pub struct UpdateBotMenuButton {
pub bot_id: i64,
pub button: BotMenuButton,
}Expand description
Generated from:
updateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = UpdateFields§
§bot_id: i64Trait Implementations§
Source§impl Clone for UpdateBotMenuButton
impl Clone for UpdateBotMenuButton
Source§fn clone(&self) -> UpdateBotMenuButton
fn clone(&self) -> UpdateBotMenuButton
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 UpdateBotMenuButton
impl Debug for UpdateBotMenuButton
Source§impl Deserializable for UpdateBotMenuButton
impl Deserializable for UpdateBotMenuButton
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateBotMenuButton> for Update
impl From<UpdateBotMenuButton> for Update
Source§fn from(x: UpdateBotMenuButton) -> Self
fn from(x: UpdateBotMenuButton) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotMenuButton
impl Identifiable for UpdateBotMenuButton
Source§const CONSTRUCTOR_ID: u32 = 0x14b85813
const CONSTRUCTOR_ID: u32 = 0x14b85813
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBotMenuButton
impl PartialEq for UpdateBotMenuButton
Source§impl Serializable for UpdateBotMenuButton
impl Serializable for UpdateBotMenuButton
Source§impl TryFrom<Update> for UpdateBotMenuButton
impl TryFrom<Update> for UpdateBotMenuButton
impl StructuralPartialEq for UpdateBotMenuButton
Auto Trait Implementations§
impl Freeze for UpdateBotMenuButton
impl RefUnwindSafe for UpdateBotMenuButton
impl Send for UpdateBotMenuButton
impl Sync for UpdateBotMenuButton
impl Unpin for UpdateBotMenuButton
impl UnsafeUnpin for UpdateBotMenuButton
impl UnwindSafe for UpdateBotMenuButton
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