pub struct ChatParticipantsForbidden {
pub chat_id: i64,
pub self_participant: Option<ChatParticipant>,
}Expand description
Generated from:
chatParticipantsForbidden#8763d3e1 flags:# chat_id:long self_participant:flags.0?ChatParticipant = ChatParticipantsFields§
§chat_id: i64§self_participant: Option<ChatParticipant>Trait Implementations§
Source§impl Clone for ChatParticipantsForbidden
impl Clone for ChatParticipantsForbidden
Source§fn clone(&self) -> ChatParticipantsForbidden
fn clone(&self) -> ChatParticipantsForbidden
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 ChatParticipantsForbidden
impl Debug for ChatParticipantsForbidden
Source§impl Deserializable for ChatParticipantsForbidden
impl Deserializable for ChatParticipantsForbidden
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<ChatParticipantsForbidden> for ChatParticipants
impl From<ChatParticipantsForbidden> for ChatParticipants
Source§fn from(x: ChatParticipantsForbidden) -> Self
fn from(x: ChatParticipantsForbidden) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatParticipantsForbidden
impl Identifiable for ChatParticipantsForbidden
Source§const CONSTRUCTOR_ID: u32 = 0x8763d3e1
const CONSTRUCTOR_ID: u32 = 0x8763d3e1
The constructor ID as specified in the TL schema.
Source§impl TryFrom<ChatParticipants> for ChatParticipantsForbidden
impl TryFrom<ChatParticipants> for ChatParticipantsForbidden
Source§type Error = ChatParticipants
type Error = ChatParticipants
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatParticipantsForbidden
Auto Trait Implementations§
impl Freeze for ChatParticipantsForbidden
impl RefUnwindSafe for ChatParticipantsForbidden
impl Send for ChatParticipantsForbidden
impl Sync for ChatParticipantsForbidden
impl Unpin for ChatParticipantsForbidden
impl UnsafeUnpin for ChatParticipantsForbidden
impl UnwindSafe for ChatParticipantsForbidden
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