Struct telegram_api_rs::objects::KeyboardButtonPollType
source · pub struct KeyboardButtonPollType {
pub typ: String,
}
Fields
typ: String
Implementations
sourceimpl KeyboardButtonPollType
impl KeyboardButtonPollType
pub fn from_json(data: JsonValue) -> KeyboardButtonPollType
pub fn to_json(&self) -> JsonValue
pub fn empty() -> KeyboardButtonPollType
Trait Implementations
sourceimpl Clone for KeyboardButtonPollType
impl Clone for KeyboardButtonPollType
sourceimpl Display for KeyboardButtonPollType
impl Display for KeyboardButtonPollType
sourceimpl From<KeyboardButtonPollType> for JsonValue
impl From<KeyboardButtonPollType> for JsonValue
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more