pub struct KeyboardButtonPollType {
pub kind: Option<KeyboardButtonPollTypeKind>,
}Expand description
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
Fields§
§kind: Option<KeyboardButtonPollTypeKind>The actual kind
Trait Implementations§
Source§impl Debug for KeyboardButtonPollType
impl Debug for KeyboardButtonPollType
Source§impl<'de> Deserialize<'de> for KeyboardButtonPollType
impl<'de> Deserialize<'de> for KeyboardButtonPollType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KeyboardButtonPollType
impl PartialEq for KeyboardButtonPollType
Source§impl Serialize for KeyboardButtonPollType
impl Serialize for KeyboardButtonPollType
impl StructuralPartialEq for KeyboardButtonPollType
Auto Trait Implementations§
impl Freeze for KeyboardButtonPollType
impl RefUnwindSafe for KeyboardButtonPollType
impl Send for KeyboardButtonPollType
impl Sync for KeyboardButtonPollType
impl Unpin for KeyboardButtonPollType
impl UnwindSafe for KeyboardButtonPollType
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