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