Struct frankenstein::objects::Update [−][src]
pub struct Update {Show 15 fields
pub update_id: u32,
pub message: Option<Message>,
pub edited_message: Option<Message>,
pub channel_post: Option<Message>,
pub edited_channel_post: Option<Message>,
pub inline_query: Option<InlineQuery>,
pub chosen_inline_result: Option<ChosenInlineResult>,
pub callback_query: Option<CallbackQuery>,
pub shipping_query: Option<ShippingQuery>,
pub pre_checkout_query: Option<PreCheckoutQuery>,
pub poll: Option<Poll>,
pub poll_answer: Option<PollAnswer>,
pub my_chat_member: Option<ChatMemberUpdated>,
pub chat_member: Option<ChatMemberUpdated>,
pub chat_join_request: Option<ChatJoinRequest>,
}
Fields
update_id: u32
message: Option<Message>
edited_message: Option<Message>
channel_post: Option<Message>
edited_channel_post: Option<Message>
inline_query: Option<InlineQuery>
chosen_inline_result: Option<ChosenInlineResult>
callback_query: Option<CallbackQuery>
shipping_query: Option<ShippingQuery>
pre_checkout_query: Option<PreCheckoutQuery>
poll: Option<Poll>
poll_answer: Option<PollAnswer>
my_chat_member: Option<ChatMemberUpdated>
chat_member: Option<ChatMemberUpdated>
chat_join_request: Option<ChatJoinRequest>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Update
impl UnwindSafe for Update
Blanket Implementations
Mutably borrows from an owned value. Read more