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