pub struct InputPrivacyValueAllowContacts {}Expand description
inputPrivacyValueAllowContacts
Generated from:
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRuleTrait Implementations§
Source§impl Clone for InputPrivacyValueAllowContacts
impl Clone for InputPrivacyValueAllowContacts
Source§fn clone(&self) -> InputPrivacyValueAllowContacts
fn clone(&self) -> InputPrivacyValueAllowContacts
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 InputPrivacyValueAllowContacts
impl Deserializable for InputPrivacyValueAllowContacts
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<InputPrivacyValueAllowContacts> for InputPrivacyRule
impl From<InputPrivacyValueAllowContacts> for InputPrivacyRule
Source§fn from(_x: InputPrivacyValueAllowContacts) -> Self
fn from(_x: InputPrivacyValueAllowContacts) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPrivacyValueAllowContacts
impl Identifiable for InputPrivacyValueAllowContacts
Source§const CONSTRUCTOR_ID: u32 = 0x0d09e07b
const CONSTRUCTOR_ID: u32 = 0x0d09e07b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputPrivacyValueAllowContacts
impl PartialEq for InputPrivacyValueAllowContacts
Source§fn eq(&self, other: &InputPrivacyValueAllowContacts) -> bool
fn eq(&self, other: &InputPrivacyValueAllowContacts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputPrivacyValueAllowContacts
Auto Trait Implementations§
impl Freeze for InputPrivacyValueAllowContacts
impl RefUnwindSafe for InputPrivacyValueAllowContacts
impl Send for InputPrivacyValueAllowContacts
impl Sync for InputPrivacyValueAllowContacts
impl Unpin for InputPrivacyValueAllowContacts
impl UnsafeUnpin for InputPrivacyValueAllowContacts
impl UnwindSafe for InputPrivacyValueAllowContacts
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