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