[][src]Struct grammers_tl_types::types::Poll

pub struct Poll {
    pub id: i64,
    pub closed: bool,
    pub public_voters: bool,
    pub multiple_choice: bool,
    pub quiz: bool,
    pub question: String,
    pub answers: Vec<PollAnswer>,
    pub close_period: Option<i32>,
    pub close_date: Option<i32>,
}

Fields

id: i64closed: boolpublic_voters: boolmultiple_choice: boolquiz: boolquestion: Stringanswers: Vec<PollAnswer>close_period: Option<i32>close_date: Option<i32>

Trait Implementations

impl Clone for Poll[src]

impl Debug for Poll[src]

impl Deserializable for Poll[src]

impl From<Poll> for Poll[src]

impl From<Poll> for Poll[src]

impl Identifiable for Poll[src]

impl PartialEq<Poll> for Poll[src]

impl Serializable for Poll[src]

impl StructuralPartialEq for Poll[src]

Auto Trait Implementations

impl RefUnwindSafe for Poll

impl Send for Poll

impl Sync for Poll

impl Unpin for Poll

impl UnwindSafe for Poll

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> From<T> 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.