Enum telegram_bot_ars::types::PollType
source · pub enum PollType {
Regular,
Quiz,
}Expand description
Type of a poll.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PollType
impl<'de> Deserialize<'de> for PollType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PollType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PollType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialOrd<PollType> for PollType
impl PartialOrd<PollType> for PollType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for PollType
impl Serialize for PollType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more