Struct telegram_api_rs::objects::KeyboardButtonPollType
source · pub struct KeyboardButtonPollType {
pub typ: String,
}
Fields§
§typ: String
Implementations§
source§impl KeyboardButtonPollType
impl KeyboardButtonPollType
pub fn from_json(data: JsonValue) -> KeyboardButtonPollType
pub fn to_json(&self) -> JsonValue
pub fn empty() -> KeyboardButtonPollType
Trait Implementations§
source§impl Clone for KeyboardButtonPollType
impl Clone for KeyboardButtonPollType
source§impl Display for KeyboardButtonPollType
impl Display for KeyboardButtonPollType
source§impl From<KeyboardButtonPollType> for JsonValue
impl From<KeyboardButtonPollType> for JsonValue
source§fn from(u: KeyboardButtonPollType) -> Self
fn from(u: KeyboardButtonPollType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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