Enum clacks::mtproto::PrivacyRule
[−]
[src]
pub enum PrivacyRule { privacyValueAllowContacts, privacyValueAllowAll, privacyValueAllowUsers(privacyValueAllowUsers), privacyValueDisallowContacts, privacyValueDisallowAll, privacyValueDisallowUsers(privacyValueDisallowUsers), }
Variants
privacyValueAllowContacts
privacyValueAllowAll
privacyValueAllowUsers(privacyValueAllowUsers)
privacyValueDisallowContacts
privacyValueDisallowAll
privacyValueDisallowUsers(privacyValueDisallowUsers)
Trait Implementations
impl Debug for PrivacyRule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PrivacyRule
[src]
fn clone(&self) -> PrivacyRule
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for PrivacyRule
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
impl BoxedDeserialize for PrivacyRule
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>