pub struct PollVoteContent {
pub metadata: Option<ContentMetadata>,
pub selected_options: Vec<PollOption>,
pub type: String,
}Fields§
§metadata: Option<ContentMetadata>§selected_options: Vec<PollOption>§type: StringImplementations§
Source§impl PollVoteContent
impl PollVoteContent
pub fn serialize<__S>(
__self: &PollVoteContent,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> PollVoteContent
impl<'de> PollVoteContent
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<PollVoteContent, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for PollVoteContent
impl Clone for PollVoteContent
Source§impl Debug for PollVoteContent
impl Debug for PollVoteContent
Source§impl<'de> Deserialize<'de> for PollVoteContent
impl<'de> Deserialize<'de> for PollVoteContent
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 PollVoteContent
impl RefUnwindSafe for PollVoteContent
impl Send for PollVoteContent
impl Sync for PollVoteContent
impl Unpin for PollVoteContent
impl UnsafeUnpin for PollVoteContent
impl UnwindSafe for PollVoteContent
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