pub enum InputPrivacyKey {
Show 14 variants
StatusTimestamp,
ChatInvite,
PhoneCall,
PhoneP2P,
Forwards,
ProfilePhoto,
PhoneNumber,
AddedByPhone,
VoiceMessages,
About,
Birthday,
StarGiftsAutoSave,
NoPaidMessages,
SavedMusic,
}Expand description
Variants§
StatusTimestamp
ChatInvite
PhoneCall
PhoneP2P
Forwards
ProfilePhoto
PhoneNumber
AddedByPhone
VoiceMessages
About
Birthday
StarGiftsAutoSave
NoPaidMessages
SavedMusic
Trait Implementations§
Source§impl Clone for InputPrivacyKey
impl Clone for InputPrivacyKey
Source§fn clone(&self) -> InputPrivacyKey
fn clone(&self) -> InputPrivacyKey
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 InputPrivacyKey
impl Debug for InputPrivacyKey
Source§impl Deserializable for InputPrivacyKey
impl Deserializable for InputPrivacyKey
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<InputPrivacyKeyAbout> for InputPrivacyKey
impl From<InputPrivacyKeyAbout> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyAbout) -> Self
fn from(_x: InputPrivacyKeyAbout) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyAddedByPhone> for InputPrivacyKey
impl From<InputPrivacyKeyAddedByPhone> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyAddedByPhone) -> Self
fn from(_x: InputPrivacyKeyAddedByPhone) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyBirthday> for InputPrivacyKey
impl From<InputPrivacyKeyBirthday> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyBirthday) -> Self
fn from(_x: InputPrivacyKeyBirthday) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyChatInvite> for InputPrivacyKey
impl From<InputPrivacyKeyChatInvite> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyChatInvite) -> Self
fn from(_x: InputPrivacyKeyChatInvite) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyForwards> for InputPrivacyKey
impl From<InputPrivacyKeyForwards> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyForwards) -> Self
fn from(_x: InputPrivacyKeyForwards) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyNoPaidMessages> for InputPrivacyKey
impl From<InputPrivacyKeyNoPaidMessages> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyNoPaidMessages) -> Self
fn from(_x: InputPrivacyKeyNoPaidMessages) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyPhoneCall> for InputPrivacyKey
impl From<InputPrivacyKeyPhoneCall> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyPhoneCall) -> Self
fn from(_x: InputPrivacyKeyPhoneCall) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyPhoneNumber> for InputPrivacyKey
impl From<InputPrivacyKeyPhoneNumber> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyPhoneNumber) -> Self
fn from(_x: InputPrivacyKeyPhoneNumber) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyPhoneP2P> for InputPrivacyKey
impl From<InputPrivacyKeyPhoneP2P> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyPhoneP2P) -> Self
fn from(_x: InputPrivacyKeyPhoneP2P) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyProfilePhoto> for InputPrivacyKey
impl From<InputPrivacyKeyProfilePhoto> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyProfilePhoto) -> Self
fn from(_x: InputPrivacyKeyProfilePhoto) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeySavedMusic> for InputPrivacyKey
impl From<InputPrivacyKeySavedMusic> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeySavedMusic) -> Self
fn from(_x: InputPrivacyKeySavedMusic) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyStarGiftsAutoSave> for InputPrivacyKey
impl From<InputPrivacyKeyStarGiftsAutoSave> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyStarGiftsAutoSave) -> Self
fn from(_x: InputPrivacyKeyStarGiftsAutoSave) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyStatusTimestamp> for InputPrivacyKey
impl From<InputPrivacyKeyStatusTimestamp> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyStatusTimestamp) -> Self
fn from(_x: InputPrivacyKeyStatusTimestamp) -> Self
Converts to this type from the input type.
Source§impl From<InputPrivacyKeyVoiceMessages> for InputPrivacyKey
impl From<InputPrivacyKeyVoiceMessages> for InputPrivacyKey
Source§fn from(_x: InputPrivacyKeyVoiceMessages) -> Self
fn from(_x: InputPrivacyKeyVoiceMessages) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputPrivacyKey
impl PartialEq for InputPrivacyKey
Source§impl Serializable for InputPrivacyKey
impl Serializable for InputPrivacyKey
impl StructuralPartialEq for InputPrivacyKey
Auto Trait Implementations§
impl Freeze for InputPrivacyKey
impl RefUnwindSafe for InputPrivacyKey
impl Send for InputPrivacyKey
impl Sync for InputPrivacyKey
impl Unpin for InputPrivacyKey
impl UnsafeUnpin for InputPrivacyKey
impl UnwindSafe for InputPrivacyKey
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