Struct telegram_bot_fork::types::Update
source · pub struct Update {
pub id: i64,
pub kind: UpdateKind,
}
Expand description
This object represents an incoming update.
Fields§
§id: i64
The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially.
kind: 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<Update, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Update, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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