pub struct UpdatePollAnswer {
pub poll_id: i64,
pub voter_id: MessageSender,
pub option_ids: Vec<i32>,
}
Expand description
A user changed the answer to a poll; for bots only
Fields§
§poll_id: i64
Unique poll identifier
voter_id: MessageSender
Identifier of the message sender that changed the answer to the poll
option_ids: Vec<i32>
0-based identifiers of answer options, chosen by the user
Trait Implementations§
Source§impl Clone for UpdatePollAnswer
impl Clone for UpdatePollAnswer
Source§fn clone(&self) -> UpdatePollAnswer
fn clone(&self) -> UpdatePollAnswer
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 UpdatePollAnswer
impl Debug for UpdatePollAnswer
Source§impl<'de> Deserialize<'de> for UpdatePollAnswer
impl<'de> Deserialize<'de> for UpdatePollAnswer
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 UpdatePollAnswer
impl PartialEq for UpdatePollAnswer
Source§impl Serialize for UpdatePollAnswer
impl Serialize for UpdatePollAnswer
impl StructuralPartialEq for UpdatePollAnswer
Auto Trait Implementations§
impl Freeze for UpdatePollAnswer
impl RefUnwindSafe for UpdatePollAnswer
impl Send for UpdatePollAnswer
impl Sync for UpdatePollAnswer
impl Unpin for UpdatePollAnswer
impl UnwindSafe for UpdatePollAnswer
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