pub struct ChatMemberLeft {
pub user: BoxWrapper<Unbox<User>>,
}
Expand description
Represents a chat member that isn’t currently a member of the chat, but may join it themselves.
Fields§
§user: BoxWrapper<Unbox<User>>
Information about the user
Implementations§
Source§impl ChatMemberLeft
impl ChatMemberLeft
pub fn noskip(self) -> NoSkipChatMemberLeft
Trait Implementations§
Source§impl Clone for ChatMemberLeft
impl Clone for ChatMemberLeft
Source§fn clone(&self) -> ChatMemberLeft
fn clone(&self) -> ChatMemberLeft
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChatMemberLeft
impl Debug for ChatMemberLeft
Source§impl Default for ChatMemberLeft
impl Default for ChatMemberLeft
Source§fn default() -> ChatMemberLeft
fn default() -> ChatMemberLeft
Returns the “default value” for a type. Read more
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<BoxWrapper<Box<ChatMemberLeft>>> for ChatMemberLeft
impl From<BoxWrapper<Box<ChatMemberLeft>>> for ChatMemberLeft
Source§fn from(t: BoxWrapper<Box<ChatMemberLeft>>) -> Self
fn from(t: BoxWrapper<Box<ChatMemberLeft>>) -> Self
Converts to this type from the input type.
Source§impl From<BoxWrapper<Unbox<ChatMemberLeft>>> for ChatMemberLeft
impl From<BoxWrapper<Unbox<ChatMemberLeft>>> for ChatMemberLeft
Source§fn from(t: BoxWrapper<Unbox<ChatMemberLeft>>) -> Self
fn from(t: BoxWrapper<Unbox<ChatMemberLeft>>) -> Self
Converts to this type from the input type.
Source§impl From<NoSkipChatMemberLeft> for ChatMemberLeft
impl From<NoSkipChatMemberLeft> for ChatMemberLeft
Source§fn from(t: NoSkipChatMemberLeft) -> Self
fn from(t: NoSkipChatMemberLeft) -> Self
Converts to this type from the input type.
Source§impl Hash for ChatMemberLeft
impl Hash for ChatMemberLeft
Source§impl Into<NoSkipChatMemberLeft> for ChatMemberLeft
impl Into<NoSkipChatMemberLeft> for ChatMemberLeft
Source§fn into(self) -> NoSkipChatMemberLeft
fn into(self) -> NoSkipChatMemberLeft
Converts this type into the (usually inferred) input type.
Source§impl Ord for ChatMemberLeft
impl Ord for ChatMemberLeft
Source§fn cmp(&self, other: &ChatMemberLeft) -> Ordering
fn cmp(&self, other: &ChatMemberLeft) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChatMemberLeft
impl PartialEq for ChatMemberLeft
Source§impl PartialOrd for ChatMemberLeft
impl PartialOrd for ChatMemberLeft
Source§impl Serialize for ChatMemberLeft
impl Serialize for ChatMemberLeft
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.