[][src]Struct telegram_bot::types::PollAnswer

pub struct PollAnswer {
    pub poll_id: String,
    pub user: User,
    pub option_ids: Vec<i64, Global>,
}

This object represents an answer of a user in a non-anonymous poll.

Fields

poll_id: String

Unique poll identifier.

user: User

The user, who changed the answer to the poll.

option_ids: Vec<i64, Global>

0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.

Trait Implementations

impl Clone for PollAnswer[src]

impl Debug for PollAnswer[src]

impl<'de> Deserialize<'de> for PollAnswer[src]

impl PartialEq<PollAnswer> for PollAnswer[src]

impl PartialOrd<PollAnswer> for PollAnswer[src]

impl StructuralPartialEq for PollAnswer[src]

Auto Trait Implementations

impl RefUnwindSafe for PollAnswer[src]

impl Send for PollAnswer[src]

impl Sync for PollAnswer[src]

impl Unpin for PollAnswer[src]

impl UnwindSafe for PollAnswer[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]