pub struct KeyboardButtonRequestPoll {
pub style: Option<KeyboardButtonStyle>,
pub quiz: Option<bool>,
pub text: String,
}Expand description
Read keyboardButtonRequestPoll docs.
Generated from the following TL definition:
keyboardButtonRequestPoll#7a11d782 flags:# style:flags.10?KeyboardButtonStyle quiz:flags.0?Bool text:string = KeyboardButtonFields§
§style: Option<KeyboardButtonStyle>§quiz: Option<bool>§text: StringTrait Implementations§
Source§impl Clone for KeyboardButtonRequestPoll
impl Clone for KeyboardButtonRequestPoll
Source§fn clone(&self) -> KeyboardButtonRequestPoll
fn clone(&self) -> KeyboardButtonRequestPoll
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 KeyboardButtonRequestPoll
impl Debug for KeyboardButtonRequestPoll
Source§impl From<KeyboardButtonRequestPoll> for KeyboardButton
impl From<KeyboardButtonRequestPoll> for KeyboardButton
Source§fn from(x: KeyboardButtonRequestPoll) -> Self
fn from(x: KeyboardButtonRequestPoll) -> Self
Converts to this type from the input type.
Source§impl Identifiable for KeyboardButtonRequestPoll
impl Identifiable for KeyboardButtonRequestPoll
Source§const CONSTRUCTOR_ID: u32 = 2047989634
const CONSTRUCTOR_ID: u32 = 2047989634
The unique identifier for the type.
impl StructuralPartialEq for KeyboardButtonRequestPoll
Auto Trait Implementations§
impl Freeze for KeyboardButtonRequestPoll
impl RefUnwindSafe for KeyboardButtonRequestPoll
impl Send for KeyboardButtonRequestPoll
impl Sync for KeyboardButtonRequestPoll
impl Unpin for KeyboardButtonRequestPoll
impl UnsafeUnpin for KeyboardButtonRequestPoll
impl UnwindSafe for KeyboardButtonRequestPoll
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