pub struct ChatParticipant {
pub user_id: i64,
pub inviter_id: i64,
pub date: i32,
pub rank: Option<String>,
}Expand description
Generated from:
chatParticipant#38e79fde flags:# user_id:long inviter_id:long date:int rank:flags.0?string = ChatParticipantFields§
§user_id: i64§inviter_id: i64§date: i32§rank: Option<String>Trait Implementations§
Source§impl Clone for ChatParticipant
impl Clone for ChatParticipant
Source§fn clone(&self) -> ChatParticipant
fn clone(&self) -> ChatParticipant
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 ChatParticipant
impl Debug for ChatParticipant
Source§impl Deserializable for ChatParticipant
impl Deserializable for ChatParticipant
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<ChatParticipant> for ChatParticipant
impl From<ChatParticipant> for ChatParticipant
Source§fn from(x: ChatParticipant) -> Self
fn from(x: ChatParticipant) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatParticipant
impl Identifiable for ChatParticipant
Source§const CONSTRUCTOR_ID: u32 = 0x38e79fde
const CONSTRUCTOR_ID: u32 = 0x38e79fde
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChatParticipant
impl PartialEq for ChatParticipant
Source§impl Serializable for ChatParticipant
impl Serializable for ChatParticipant
Source§impl TryFrom<ChatParticipant> for ChatParticipant
impl TryFrom<ChatParticipant> for ChatParticipant
Source§type Error = ChatParticipant
type Error = ChatParticipant
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatParticipant
Auto Trait Implementations§
impl Freeze for ChatParticipant
impl RefUnwindSafe for ChatParticipant
impl Send for ChatParticipant
impl Sync for ChatParticipant
impl Unpin for ChatParticipant
impl UnsafeUnpin for ChatParticipant
impl UnwindSafe for ChatParticipant
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