[−][src]Enum rust_tdlib::types::ChatMemberStatus
Provides information about the status of a member in a chat
Variants
Administrator(ChatMemberStatusAdministrator)
The user is a member of a chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, and ban unprivileged members. In supergroups and channels, there are more detailed options for administrator privileges
Banned(ChatMemberStatusBanned)
The user was banned (and hence is not a member of the chat). Implies the user can't return to the chat or view messages
Creator(ChatMemberStatusCreator)
The user is the owner of a chat and has all the administrator privileges
Left(ChatMemberStatusLeft)
The user is not a chat member
Member(ChatMemberStatusMember)
The user is a member of a chat, without any additional privileges or restrictions
Restricted(ChatMemberStatusRestricted)
The user is under certain restrictions in the chat. Not supported in basic groups and channels
Implementations
impl ChatMemberStatus
[src]
Trait Implementations
impl AsRef<ChatMemberStatus> for ChatMemberStatus
[src]
pub fn as_ref(&self) -> &ChatMemberStatus
[src]
impl Clone for ChatMemberStatus
[src]
pub fn clone(&self) -> ChatMemberStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChatMemberStatus
[src]
impl Default for ChatMemberStatus
[src]
impl<'de> Deserialize<'de> for ChatMemberStatus
[src]
pub fn deserialize<D>(deserializer: D) -> Result<ChatMemberStatus, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl RObject for ChatMemberStatus
[src]
impl Serialize for ChatMemberStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChatMemberStatus
[src]
impl Send for ChatMemberStatus
[src]
impl Sync for ChatMemberStatus
[src]
impl Unpin for ChatMemberStatus
[src]
impl UnwindSafe for ChatMemberStatus
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,