[][src]Struct telegram_bot_raw::types::update::Update

pub struct Update {
    pub id: Integer,
    pub kind: UpdateKind,
}

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: UpdateKind

Kind of the incoming update.

Trait Implementations

impl Clone for Update[src]

impl Debug for Update[src]

impl<'de> Deserialize<'de> for Update[src]

impl PartialEq<Update> for Update[src]

impl PartialOrd<Update> for Update[src]

impl StructuralPartialEq for Update[src]

Auto Trait Implementations

impl RefUnwindSafe for Update[src]

impl Send for Update[src]

impl Sync for Update[src]

impl Unpin for Update[src]

impl UnwindSafe for Update[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.