pub struct UpdateChatDefaultBannedRights {
pub peer: Peer,
pub default_banned_rights: ChatBannedRights,
pub version: i32,
}Expand description
Generated from:
updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = UpdateFields§
§peer: Peer§default_banned_rights: ChatBannedRights§version: i32Trait Implementations§
Source§impl Clone for UpdateChatDefaultBannedRights
impl Clone for UpdateChatDefaultBannedRights
Source§fn clone(&self) -> UpdateChatDefaultBannedRights
fn clone(&self) -> UpdateChatDefaultBannedRights
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 UpdateChatDefaultBannedRights
impl Deserializable for UpdateChatDefaultBannedRights
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<UpdateChatDefaultBannedRights> for Update
impl From<UpdateChatDefaultBannedRights> for Update
Source§fn from(x: UpdateChatDefaultBannedRights) -> Self
fn from(x: UpdateChatDefaultBannedRights) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChatDefaultBannedRights
impl Identifiable for UpdateChatDefaultBannedRights
Source§const CONSTRUCTOR_ID: u32 = 0x54c01850
const CONSTRUCTOR_ID: u32 = 0x54c01850
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChatDefaultBannedRights
impl PartialEq for UpdateChatDefaultBannedRights
Source§fn eq(&self, other: &UpdateChatDefaultBannedRights) -> bool
fn eq(&self, other: &UpdateChatDefaultBannedRights) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateChatDefaultBannedRights
Auto Trait Implementations§
impl Freeze for UpdateChatDefaultBannedRights
impl RefUnwindSafe for UpdateChatDefaultBannedRights
impl Send for UpdateChatDefaultBannedRights
impl Sync for UpdateChatDefaultBannedRights
impl Unpin for UpdateChatDefaultBannedRights
impl UnsafeUnpin for UpdateChatDefaultBannedRights
impl UnwindSafe for UpdateChatDefaultBannedRights
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