pub enum ChatParticipants {
Forbidden(ChatParticipantsForbidden),
ChatParticipants(ChatParticipants),
}Expand description
Variants§
Forbidden(ChatParticipantsForbidden)
ChatParticipants(ChatParticipants)
Trait Implementations§
Source§impl Clone for ChatParticipants
impl Clone for ChatParticipants
Source§fn clone(&self) -> ChatParticipants
fn clone(&self) -> ChatParticipants
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 ChatParticipants
impl Debug for ChatParticipants
Source§impl Deserializable for ChatParticipants
impl Deserializable for ChatParticipants
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChatParticipants> for ChatParticipants
impl From<ChatParticipants> for ChatParticipants
Source§fn from(x: ChatParticipants) -> Self
fn from(x: ChatParticipants) -> Self
Converts to this type from the input type.
Source§impl From<ChatParticipantsForbidden> for ChatParticipants
impl From<ChatParticipantsForbidden> for ChatParticipants
Source§fn from(x: ChatParticipantsForbidden) -> Self
fn from(x: ChatParticipantsForbidden) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChatParticipants
impl PartialEq for ChatParticipants
Source§impl Serializable for ChatParticipants
impl Serializable for ChatParticipants
Source§impl TryFrom<ChatParticipants> for ChatParticipants
impl TryFrom<ChatParticipants> for ChatParticipants
Source§type Error = ChatParticipants
type Error = ChatParticipants
The type returned in the event of a conversion error.
Source§impl TryFrom<ChatParticipants> for ChatParticipantsForbidden
impl TryFrom<ChatParticipants> for ChatParticipantsForbidden
Source§type Error = ChatParticipants
type Error = ChatParticipants
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatParticipants
Auto Trait Implementations§
impl Freeze for ChatParticipants
impl RefUnwindSafe for ChatParticipants
impl Send for ChatParticipants
impl Sync for ChatParticipants
impl Unpin for ChatParticipants
impl UnsafeUnpin for ChatParticipants
impl UnwindSafe for ChatParticipants
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