Struct telegram_bot::types::Update [−][src]
Telegram type "Update" (directly mapped)
Fields
update_id: Integer
message: Option<Message>
Trait Implementations
impl Decodable for Update
[src]
impl Decodable for Update
fn decode<__D: Decoder>(d: &mut __D) -> Result<Update, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Update, __D::Error>
Deserialize a value using a Decoder
.
impl Debug for Update
[src]
impl Debug for Update
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Update
[src]
impl PartialEq for Update
fn eq(&self, other: &Update) -> bool
[src]
fn eq(&self, other: &Update) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Update) -> bool
[src]
fn ne(&self, other: &Update) -> bool
This method tests for !=
.
impl Clone for Update
[src]
impl Clone for Update