pub struct BotMenuButton {
pub text: String,
pub url: String,
}Expand description
Generated from the following TL definition:
botMenuButton#c7b57ce6 text:string url:string = BotMenuButtonFields§
§text: String§url: StringTrait Implementations§
Source§impl Clone for BotMenuButton
impl Clone for BotMenuButton
Source§fn clone(&self) -> BotMenuButton
fn clone(&self) -> BotMenuButton
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 BotMenuButton
impl Debug for BotMenuButton
Source§impl Deserializable for BotMenuButton
impl Deserializable for BotMenuButton
Source§impl From<BotMenuButton> for BotMenuButton
impl From<BotMenuButton> for BotMenuButton
Source§fn from(x: BotMenuButton) -> Self
fn from(x: BotMenuButton) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotMenuButton
impl Identifiable for BotMenuButton
Source§const CONSTRUCTOR_ID: u32 = 3350559974
const CONSTRUCTOR_ID: u32 = 3350559974
The unique identifier for the type.
Source§impl PartialEq for BotMenuButton
impl PartialEq for BotMenuButton
Source§impl Serializable for BotMenuButton
impl Serializable for BotMenuButton
Source§impl TryFrom<BotMenuButton> for BotMenuButton
impl TryFrom<BotMenuButton> for BotMenuButton
impl StructuralPartialEq for BotMenuButton
Auto Trait Implementations§
impl Freeze for BotMenuButton
impl RefUnwindSafe for BotMenuButton
impl Send for BotMenuButton
impl Sync for BotMenuButton
impl Unpin for BotMenuButton
impl UnsafeUnpin for BotMenuButton
impl UnwindSafe for BotMenuButton
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