Struct telegram_api_rs::objects::Update
source · pub struct Update {
pub update_id: i64,
pub message: Option<Message>,
pub edited_message: Option<Message>,
pub channel_post: Option<Message>,
pub edited_channel_post: Option<Message>,
pub callback_query: Option<CallbackQuery>,
pub poll: Option<Poll>,
pub poll_answer: Option<PollAnswer>,
pub my_chat_member: Option<ChatMemberUpdated>,
pub chat_member: Option<ChatMemberUpdated>,
}
Fields§
§update_id: i64
§message: Option<Message>
§edited_message: Option<Message>
§channel_post: Option<Message>
§edited_channel_post: Option<Message>
§callback_query: Option<CallbackQuery>
§poll: Option<Poll>
§poll_answer: Option<PollAnswer>
§my_chat_member: Option<ChatMemberUpdated>
§chat_member: Option<ChatMemberUpdated>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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