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