pub struct UpdateChatParticipantRank {
pub chat_id: i64,
pub user_id: i64,
pub rank: String,
pub version: i32,
}Expand description
Generated from:
updateChatParticipantRank#bd8367b9 chat_id:long user_id:long rank:string version:int = UpdateFields§
§chat_id: i64§user_id: i64§rank: String§version: i32Trait Implementations§
Source§impl Clone for UpdateChatParticipantRank
impl Clone for UpdateChatParticipantRank
Source§fn clone(&self) -> UpdateChatParticipantRank
fn clone(&self) -> UpdateChatParticipantRank
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 UpdateChatParticipantRank
impl Debug for UpdateChatParticipantRank
Source§impl Deserializable for UpdateChatParticipantRank
impl Deserializable for UpdateChatParticipantRank
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<UpdateChatParticipantRank> for Update
impl From<UpdateChatParticipantRank> for Update
Source§fn from(x: UpdateChatParticipantRank) -> Self
fn from(x: UpdateChatParticipantRank) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChatParticipantRank
impl Identifiable for UpdateChatParticipantRank
Source§const CONSTRUCTOR_ID: u32 = 0xbd8367b9
const CONSTRUCTOR_ID: u32 = 0xbd8367b9
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateChatParticipantRank
impl TryFrom<Update> for UpdateChatParticipantRank
impl StructuralPartialEq for UpdateChatParticipantRank
Auto Trait Implementations§
impl Freeze for UpdateChatParticipantRank
impl RefUnwindSafe for UpdateChatParticipantRank
impl Send for UpdateChatParticipantRank
impl Sync for UpdateChatParticipantRank
impl Unpin for UpdateChatParticipantRank
impl UnsafeUnpin for UpdateChatParticipantRank
impl UnwindSafe for UpdateChatParticipantRank
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