pub struct ChannelParticipants {
pub count: i32,
pub participants: Vec<ChannelParticipant>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
}Expand description
Generated from:
channels.channelParticipants#9ab0feaf count:int participants:Vector<ChannelParticipant> chats:Vector<Chat> users:Vector<User> = channels.ChannelParticipantsFields§
§count: i32§participants: Vec<ChannelParticipant>§chats: Vec<Chat>§users: Vec<User>Trait Implementations§
Source§impl Clone for ChannelParticipants
impl Clone for ChannelParticipants
Source§fn clone(&self) -> ChannelParticipants
fn clone(&self) -> ChannelParticipants
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 ChannelParticipants
impl Debug for ChannelParticipants
Source§impl Deserializable for ChannelParticipants
impl Deserializable for ChannelParticipants
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<ChannelParticipants> for ChannelParticipants
impl From<ChannelParticipants> for ChannelParticipants
Source§fn from(x: ChannelParticipants) -> Self
fn from(x: ChannelParticipants) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelParticipants
impl Identifiable for ChannelParticipants
Source§const CONSTRUCTOR_ID: u32 = 0x9ab0feaf
const CONSTRUCTOR_ID: u32 = 0x9ab0feaf
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelParticipants
impl PartialEq for ChannelParticipants
Source§impl Serializable for ChannelParticipants
impl Serializable for ChannelParticipants
Source§impl TryFrom<ChannelParticipants> for ChannelParticipants
impl TryFrom<ChannelParticipants> for ChannelParticipants
Source§type Error = ChannelParticipants
type Error = ChannelParticipants
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelParticipants
Auto Trait Implementations§
impl Freeze for ChannelParticipants
impl RefUnwindSafe for ChannelParticipants
impl Send for ChannelParticipants
impl Sync for ChannelParticipants
impl Unpin for ChannelParticipants
impl UnsafeUnpin for ChannelParticipants
impl UnwindSafe for ChannelParticipants
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