pub struct ToggleParticipantBanned {
pub unban: bool,
pub community: InputChannel,
pub participant: InputPeer,
}Expand description
communities.toggleParticipantBanned
Generated from:
communities.toggleParticipantBanned#9967ad0f flags:# unban:flags.0?true community:InputChannel participant:InputPeer = BoolFields§
§unban: bool§community: InputChannel§participant: InputPeerTrait Implementations§
Source§impl Clone for ToggleParticipantBanned
impl Clone for ToggleParticipantBanned
Source§fn clone(&self) -> ToggleParticipantBanned
fn clone(&self) -> ToggleParticipantBanned
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToggleParticipantBanned
impl Debug for ToggleParticipantBanned
Source§impl Deserializable for ToggleParticipantBanned
impl Deserializable for ToggleParticipantBanned
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 Identifiable for ToggleParticipantBanned
impl Identifiable for ToggleParticipantBanned
Source§const CONSTRUCTOR_ID: u32 = 0x9967ad0f
const CONSTRUCTOR_ID: u32 = 0x9967ad0f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ToggleParticipantBanned
impl PartialEq for ToggleParticipantBanned
Source§impl RemoteCall for ToggleParticipantBanned
impl RemoteCall for ToggleParticipantBanned
impl StructuralPartialEq for ToggleParticipantBanned
Auto Trait Implementations§
impl Freeze for ToggleParticipantBanned
impl RefUnwindSafe for ToggleParticipantBanned
impl Send for ToggleParticipantBanned
impl Sync for ToggleParticipantBanned
impl Unpin for ToggleParticipantBanned
impl UnsafeUnpin for ToggleParticipantBanned
impl UnwindSafe for ToggleParticipantBanned
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