Struct telegram_bot_raw_ars::types::update::Update
source · pub struct Update {
pub id: Integer,
pub kind: Option<UpdateKind>,
}
Expand description
This object represents an incoming update.
Fields§
§id: Integer
The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially.
kind: Option<UpdateKind>
Kind of the incoming update.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Update
impl<'de> Deserialize<'de> for Update
source§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
source§impl PartialEq<Update> for Update
impl PartialEq<Update> for Update
source§impl PartialOrd<Update> for Update
impl PartialOrd<Update> for Update
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