[−][src]Enum grammers_tl_types::enums::PrivacyKey
Variants
StatusTimestamp(PrivacyKeyStatusTimestamp)
ChatInvite(PrivacyKeyChatInvite)
PhoneCall(PrivacyKeyPhoneCall)
PhoneP2P(PrivacyKeyPhoneP2P)
Forwards(PrivacyKeyForwards)
ProfilePhoto(PrivacyKeyProfilePhoto)
PhoneNumber(PrivacyKeyPhoneNumber)
AddedByPhone(PrivacyKeyAddedByPhone)
Trait Implementations
impl Clone for PrivacyKey
[src]
fn clone(&self) -> PrivacyKey
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PrivacyKey
[src]
impl Deserializable for PrivacyKey
[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<PrivacyKeyAddedByPhone> for PrivacyKey
[src]
fn from(x: PrivacyKeyAddedByPhone) -> Self
[src]
impl From<PrivacyKeyChatInvite> for PrivacyKey
[src]
fn from(x: PrivacyKeyChatInvite) -> Self
[src]
impl From<PrivacyKeyForwards> for PrivacyKey
[src]
fn from(x: PrivacyKeyForwards) -> Self
[src]
impl From<PrivacyKeyPhoneCall> for PrivacyKey
[src]
fn from(x: PrivacyKeyPhoneCall) -> Self
[src]
impl From<PrivacyKeyPhoneNumber> for PrivacyKey
[src]
fn from(x: PrivacyKeyPhoneNumber) -> Self
[src]
impl From<PrivacyKeyPhoneP2P> for PrivacyKey
[src]
fn from(x: PrivacyKeyPhoneP2P) -> Self
[src]
impl From<PrivacyKeyProfilePhoto> for PrivacyKey
[src]
fn from(x: PrivacyKeyProfilePhoto) -> Self
[src]
impl From<PrivacyKeyStatusTimestamp> for PrivacyKey
[src]
fn from(x: PrivacyKeyStatusTimestamp) -> Self
[src]
impl PartialEq<PrivacyKey> for PrivacyKey
[src]
fn eq(&self, other: &PrivacyKey) -> bool
[src]
fn ne(&self, other: &PrivacyKey) -> bool
[src]
impl Serializable for PrivacyKey
[src]
impl StructuralPartialEq for PrivacyKey
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyAddedByPhone
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyChatInvite
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyForwards
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyPhoneCall
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyPhoneNumber
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyPhoneP2P
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyProfilePhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
impl TryFrom<PrivacyKey> for PrivacyKeyStatusTimestamp
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PrivacyKey) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for PrivacyKey
impl Send for PrivacyKey
impl Sync for PrivacyKey
impl Unpin for PrivacyKey
impl UnwindSafe for PrivacyKey
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>,