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