pub enum AllowedUpdate {
Message,
EditedMessage,
ChannelPost,
EditedChannelPost,
InlineQuery,
ChosenInlineResult,
CallbackQuery,
ShippingQuery,
PreCheckoutQuery,
}
Variants§
Message
EditedMessage
ChannelPost
EditedChannelPost
InlineQuery
ChosenInlineResult
CallbackQuery
ShippingQuery
PreCheckoutQuery
Trait Implementations§
source§impl Clone for AllowedUpdate
impl Clone for AllowedUpdate
source§fn clone(&self) -> AllowedUpdate
fn clone(&self) -> AllowedUpdate
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 AllowedUpdate
impl Debug for AllowedUpdate
source§impl PartialEq<AllowedUpdate> for AllowedUpdate
impl PartialEq<AllowedUpdate> for AllowedUpdate
source§fn eq(&self, other: &AllowedUpdate) -> bool
fn eq(&self, other: &AllowedUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AllowedUpdate> for AllowedUpdate
impl PartialOrd<AllowedUpdate> for AllowedUpdate
source§fn partial_cmp(&self, other: &AllowedUpdate) -> Option<Ordering>
fn partial_cmp(&self, other: &AllowedUpdate) -> Option<Ordering>
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 more