Enum telexide_fork::model::ChatMember [−][src]
pub enum ChatMember {
Creator(CreatorMemberStatus),
Administrator(AdministratorMemberStatus),
Member(MemberMemberStatus),
Restricted(RestrictedMemberStatus),
Left(LeftMemberStatus),
Kicked(KickedMemberStatus),
}Expand description
This object contains information about one member of a chat.
Variants
Creator(CreatorMemberStatus)
Tuple Fields
Administrator(AdministratorMemberStatus)
Tuple Fields
Member(MemberMemberStatus)
Tuple Fields
Restricted(RestrictedMemberStatus)
Tuple Fields
Left(LeftMemberStatus)
Tuple Fields
Kicked(KickedMemberStatus)
Tuple Fields
Implementations
Retrieves the underlying User of the ChatMember.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ChatMember
impl Send for ChatMember
impl Sync for ChatMember
impl Unpin for ChatMember
impl UnwindSafe for ChatMember
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more