[−][src]Enum grammers_tl_types::enums::InputPrivacyKey
Variants
StatusTimestamp(InputPrivacyKeyStatusTimestamp)
ChatInvite(InputPrivacyKeyChatInvite)
PhoneCall(InputPrivacyKeyPhoneCall)
PhoneP2P(InputPrivacyKeyPhoneP2P)
Forwards(InputPrivacyKeyForwards)
ProfilePhoto(InputPrivacyKeyProfilePhoto)
PhoneNumber(InputPrivacyKeyPhoneNumber)
AddedByPhone(InputPrivacyKeyAddedByPhone)
Trait Implementations
impl Clone for InputPrivacyKey
[src]
fn clone(&self) -> InputPrivacyKey
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InputPrivacyKey
[src]
impl Deserializable for InputPrivacyKey
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<InputPrivacyKeyAddedByPhone> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyAddedByPhone) -> Self
[src]
impl From<InputPrivacyKeyChatInvite> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyChatInvite) -> Self
[src]
impl From<InputPrivacyKeyForwards> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyForwards) -> Self
[src]
impl From<InputPrivacyKeyPhoneCall> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyPhoneCall) -> Self
[src]
impl From<InputPrivacyKeyPhoneNumber> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyPhoneNumber) -> Self
[src]
impl From<InputPrivacyKeyPhoneP2P> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyPhoneP2P) -> Self
[src]
impl From<InputPrivacyKeyProfilePhoto> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyProfilePhoto) -> Self
[src]
impl From<InputPrivacyKeyStatusTimestamp> for InputPrivacyKey
[src]
fn from(x: InputPrivacyKeyStatusTimestamp) -> Self
[src]
impl PartialEq<InputPrivacyKey> for InputPrivacyKey
[src]
fn eq(&self, other: &InputPrivacyKey) -> bool
[src]
fn ne(&self, other: &InputPrivacyKey) -> bool
[src]
impl Serializable for InputPrivacyKey
[src]
impl StructuralPartialEq for InputPrivacyKey
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyAddedByPhone
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyChatInvite
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyForwards
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyPhoneCall
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyPhoneNumber
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyPhoneP2P
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyProfilePhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPrivacyKey> for InputPrivacyKeyStatusTimestamp
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPrivacyKey) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputPrivacyKey
impl Send for InputPrivacyKey
impl Sync for InputPrivacyKey
impl Unpin for InputPrivacyKey
impl UnwindSafe for InputPrivacyKey
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,