Struct telexide::model::ChatMemberUpdated[][src]

pub struct ChatMemberUpdated {
    pub chat: Chat,
    pub from: User,
    pub date: DateTime<Utc>,
    pub old_chat_member: ChatMember,
    pub new_chat_member: ChatMember,
    pub invite_link: Option<ChatInviteLink>,
}

Represents changes in the status of a chat member.

Fields

chat: Chat

Chat the user belongs to

from: User

Performer of the action, which resulted in the change

date: DateTime<Utc>

Date the change was done

old_chat_member: ChatMember

Previous information about the chat member

new_chat_member: ChatMember

New information about the chat member

invite_link: Option<ChatInviteLink>

Chat invite link, which was used by the user to join the chat; for joining by invite link events only.

Trait Implementations

impl Clone for ChatMemberUpdated[src]

impl Debug for ChatMemberUpdated[src]

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

impl PartialEq<ChatMemberUpdated> for ChatMemberUpdated[src]

impl Serialize for ChatMemberUpdated[src]

impl StructuralPartialEq for ChatMemberUpdated[src]

Auto Trait Implementations

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> CloneAny for T where
    T: Any + Clone
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

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

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

impl<T> Instrument 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.

impl<T> UnsafeAny for T where
    T: Any