pub enum RequestPollKind {
Any,
Regular,
Quiz,
}
Expand description
Represents different kinds of poll that a Button
can request.
Variants§
Any
Allows the user to create a poll of any type.
Regular
Allows the user to create only a regular poll.
Quiz
Allows the user to create only a quiz poll.
Implementations§
Trait Implementations§
source§impl Clone for RequestPollKind
impl Clone for RequestPollKind
source§fn clone(&self) -> RequestPollKind
fn clone(&self) -> RequestPollKind
Returns a copy of the value. Read more
1.0.0 · 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 RequestPollKind
impl Debug for RequestPollKind
source§impl Hash for RequestPollKind
impl Hash for RequestPollKind
source§impl PartialEq<RequestPollKind> for RequestPollKind
impl PartialEq<RequestPollKind> for RequestPollKind
source§fn eq(&self, other: &RequestPollKind) -> bool
fn eq(&self, other: &RequestPollKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.