pub enum SendPollType {
Quiz,
Regular,
}Expand description
Poll type, “quiz” or “regular”, defaults to “regular”
Variants§
Trait Implementations§
Source§impl Clone for SendPollType
impl Clone for SendPollType
Source§fn clone(&self) -> SendPollType
fn clone(&self) -> SendPollType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendPollType
impl Debug for SendPollType
Source§impl Default for SendPollType
impl Default for SendPollType
Source§fn default() -> SendPollType
fn default() -> SendPollType
Returns the “default value” for a type. Read more
Source§impl PartialEq for SendPollType
impl PartialEq for SendPollType
Source§fn eq(&self, other: &SendPollType) -> bool
fn eq(&self, other: &SendPollType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendPollType
impl Serialize for SendPollType
impl StructuralPartialEq for SendPollType
Auto Trait Implementations§
impl Freeze for SendPollType
impl RefUnwindSafe for SendPollType
impl Send for SendPollType
impl Sync for SendPollType
impl Unpin for SendPollType
impl UnsafeUnpin for SendPollType
impl UnwindSafe for SendPollType
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