Struct telegram_types::bot::types::Update
source · pub struct Update {
pub update_id: UpdateId,
pub content: UpdateContent,
}
Expand description
An incoming update.
At most one of the optional parameters can be present in any given update.
Fields
update_id: UpdateId
The update‘s unique identifier.
content: UpdateContent
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Update
impl<'de> Deserialize<'de> for Update
sourcefn 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
impl StructuralPartialEq for Update
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more