pub enum AllowedUpdate {
Message,
EditedMessage,
ChannelPost,
EditedChannelPost,
InlineQuery,
ChosenInlineResult,
CallbackQuery,
ShippingQuery,
PreCheckoutQuery,
}
Variants
Message
EditedMessage
ChannelPost
EditedChannelPost
InlineQuery
ChosenInlineResult
CallbackQuery
ShippingQuery
PreCheckoutQuery
Trait Implementations
sourceimpl Clone for AllowedUpdate
impl Clone for AllowedUpdate
sourcefn clone(&self) -> AllowedUpdate
fn clone(&self) -> AllowedUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AllowedUpdate
impl Debug for AllowedUpdate
sourceimpl PartialEq<AllowedUpdate> for AllowedUpdate
impl PartialEq<AllowedUpdate> for AllowedUpdate
sourcefn eq(&self, other: &AllowedUpdate) -> bool
fn eq(&self, other: &AllowedUpdate) -> bool
sourceimpl PartialOrd<AllowedUpdate> for AllowedUpdate
impl PartialOrd<AllowedUpdate> for AllowedUpdate
sourcefn partial_cmp(&self, other: &AllowedUpdate) -> Option<Ordering>
fn partial_cmp(&self, other: &AllowedUpdate) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for AllowedUpdate
impl Serialize for AllowedUpdate
impl StructuralPartialEq for AllowedUpdate
Auto Trait Implementations
impl RefUnwindSafe for AllowedUpdate
impl Send for AllowedUpdate
impl Sync for AllowedUpdate
impl Unpin for AllowedUpdate
impl UnwindSafe for AllowedUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more