Struct telegram_api_rs::objects::PollAnswer
source · Fields
poll_id: String
user: User
option_ids: Vec<i32>
Implementations
sourceimpl PollAnswer
impl PollAnswer
pub fn from_json(data: JsonValue) -> PollAnswer
pub fn to_json(&self) -> JsonValue
pub fn empty() -> PollAnswer
Trait Implementations
sourceimpl Clone for PollAnswer
impl Clone for PollAnswer
sourceimpl Display for PollAnswer
impl Display for PollAnswer
sourceimpl From<PollAnswer> for JsonValue
impl From<PollAnswer> for JsonValue
sourcefn from(u: PollAnswer) -> Self
fn from(u: PollAnswer) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PollAnswer
impl Send for PollAnswer
impl Sync for PollAnswer
impl Unpin for PollAnswer
impl UnwindSafe for PollAnswer
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