pub struct PrivacyValueDisallowChatParticipants {
pub chats: Vec<i64>,
}Expand description
privacyValueDisallowChatParticipants
Generated from:
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRuleFields§
§chats: Vec<i64>Trait Implementations§
Source§impl Clone for PrivacyValueDisallowChatParticipants
impl Clone for PrivacyValueDisallowChatParticipants
Source§fn clone(&self) -> PrivacyValueDisallowChatParticipants
fn clone(&self) -> PrivacyValueDisallowChatParticipants
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 PrivacyValueDisallowChatParticipants
impl Deserializable for PrivacyValueDisallowChatParticipants
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<PrivacyValueDisallowChatParticipants> for PrivacyRule
impl From<PrivacyValueDisallowChatParticipants> for PrivacyRule
Source§fn from(x: PrivacyValueDisallowChatParticipants) -> Self
fn from(x: PrivacyValueDisallowChatParticipants) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PrivacyValueDisallowChatParticipants
impl Identifiable for PrivacyValueDisallowChatParticipants
Source§const CONSTRUCTOR_ID: u32 = 0x41c87565
const CONSTRUCTOR_ID: u32 = 0x41c87565
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PrivacyValueDisallowChatParticipants
impl PartialEq for PrivacyValueDisallowChatParticipants
Source§fn eq(&self, other: &PrivacyValueDisallowChatParticipants) -> bool
fn eq(&self, other: &PrivacyValueDisallowChatParticipants) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<PrivacyRule> for PrivacyValueDisallowChatParticipants
impl TryFrom<PrivacyRule> for PrivacyValueDisallowChatParticipants
Source§type Error = PrivacyRule
type Error = PrivacyRule
The type returned in the event of a conversion error.
impl StructuralPartialEq for PrivacyValueDisallowChatParticipants
Auto Trait Implementations§
impl Freeze for PrivacyValueDisallowChatParticipants
impl RefUnwindSafe for PrivacyValueDisallowChatParticipants
impl Send for PrivacyValueDisallowChatParticipants
impl Sync for PrivacyValueDisallowChatParticipants
impl Unpin for PrivacyValueDisallowChatParticipants
impl UnsafeUnpin for PrivacyValueDisallowChatParticipants
impl UnwindSafe for PrivacyValueDisallowChatParticipants
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