pub struct PollV2 {
pub id: Option<String>,
pub end_datetime: Option<String>,
pub voting_status: Option<String>,
pub options: Vec<PollOption>,
}Fields§
§id: Option<String>§end_datetime: Option<String>§voting_status: Option<String>§options: Vec<PollOption>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PollV2
impl<'de> Deserialize<'de> for PollV2
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 PollV2
impl RefUnwindSafe for PollV2
impl Send for PollV2
impl Sync for PollV2
impl Unpin for PollV2
impl UnwindSafe for PollV2
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