pub struct ChatMemberLeft {
pub status: String,
pub user: User,
pub extra: BTreeMap<String, Value>,
}Expand description
Represents a chat member that isn’t currently a member of the chat, but may join it themselves.
Fields§
§status: StringThe member’s status in the chat, always ‘left’
user: UserInformation about the user
extra: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for ChatMemberLeft
impl Clone for ChatMemberLeft
Source§impl Debug for ChatMemberLeft
impl Debug for ChatMemberLeft
Source§impl<'de> Deserialize<'de> for ChatMemberLeft
impl<'de> Deserialize<'de> for ChatMemberLeft
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 From<ChatMemberLeft> for ChatMemberUnion
impl From<ChatMemberLeft> for ChatMemberUnion
Source§fn from(value: ChatMemberLeft) -> Self
fn from(value: ChatMemberLeft) -> Self
Converts to this type from the input type.
Source§impl From<ChatMemberLeft> for ResultChatMemberUnion
impl From<ChatMemberLeft> for ResultChatMemberUnion
Source§fn from(value: ChatMemberLeft) -> Self
fn from(value: ChatMemberLeft) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChatMemberLeft
impl PartialEq for ChatMemberLeft
Source§impl Serialize for ChatMemberLeft
impl Serialize for ChatMemberLeft
impl StructuralPartialEq for ChatMemberLeft
Auto Trait Implementations§
impl Freeze for ChatMemberLeft
impl RefUnwindSafe for ChatMemberLeft
impl Send for ChatMemberLeft
impl Sync for ChatMemberLeft
impl Unpin for ChatMemberLeft
impl UnsafeUnpin for ChatMemberLeft
impl UnwindSafe for ChatMemberLeft
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more