pub struct ChannelAdminLogEventActionParticipantEditRank {
pub user_id: i64,
pub prev_rank: String,
pub new_rank: String,
}Expand description
channelAdminLogEventActionParticipantEditRank
Generated from:
channelAdminLogEventActionParticipantEditRank#5806b4ec user_id:long prev_rank:string new_rank:string = ChannelAdminLogEventActionFields§
§user_id: i64§prev_rank: String§new_rank: StringTrait Implementations§
Source§impl Clone for ChannelAdminLogEventActionParticipantEditRank
impl Clone for ChannelAdminLogEventActionParticipantEditRank
Source§fn clone(&self) -> ChannelAdminLogEventActionParticipantEditRank
fn clone(&self) -> ChannelAdminLogEventActionParticipantEditRank
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 Deserializable for ChannelAdminLogEventActionParticipantEditRank
impl Deserializable for ChannelAdminLogEventActionParticipantEditRank
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<ChannelAdminLogEventActionParticipantEditRank> for ChannelAdminLogEventAction
impl From<ChannelAdminLogEventActionParticipantEditRank> for ChannelAdminLogEventAction
Source§fn from(x: ChannelAdminLogEventActionParticipantEditRank) -> Self
fn from(x: ChannelAdminLogEventActionParticipantEditRank) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelAdminLogEventActionParticipantEditRank
impl Identifiable for ChannelAdminLogEventActionParticipantEditRank
Source§const CONSTRUCTOR_ID: u32 = 0x5806b4ec
const CONSTRUCTOR_ID: u32 = 0x5806b4ec
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelAdminLogEventActionParticipantEditRank
impl PartialEq for ChannelAdminLogEventActionParticipantEditRank
Source§fn eq(&self, other: &ChannelAdminLogEventActionParticipantEditRank) -> bool
fn eq(&self, other: &ChannelAdminLogEventActionParticipantEditRank) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionParticipantEditRank
impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionParticipantEditRank
Source§type Error = ChannelAdminLogEventAction
type Error = ChannelAdminLogEventAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelAdminLogEventActionParticipantEditRank
Auto Trait Implementations§
impl Freeze for ChannelAdminLogEventActionParticipantEditRank
impl RefUnwindSafe for ChannelAdminLogEventActionParticipantEditRank
impl Send for ChannelAdminLogEventActionParticipantEditRank
impl Sync for ChannelAdminLogEventActionParticipantEditRank
impl Unpin for ChannelAdminLogEventActionParticipantEditRank
impl UnsafeUnpin for ChannelAdminLogEventActionParticipantEditRank
impl UnwindSafe for ChannelAdminLogEventActionParticipantEditRank
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