pub struct PollResult {
pub answer_text: Option<String>,
pub answer_slot: i32,
pub last_vote_date: OffsetDateTime,
pub votes: i32,
pub requesting_user_voted: bool,
}Fields§
§answer_text: Option<String>§answer_slot: i32§last_vote_date: OffsetDateTime§votes: i32§requesting_user_voted: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for PollResult
impl<'de> Deserialize<'de> for PollResult
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
Auto Trait Implementations§
impl Freeze for PollResult
impl RefUnwindSafe for PollResult
impl Send for PollResult
impl Sync for PollResult
impl Unpin for PollResult
impl UnwindSafe for PollResult
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