Enum telegram::schema::PrivacyRule []

pub enum PrivacyRule {
    privacyValueAllowContacts,
    privacyValueAllowAll,
    privacyValueAllowUsers {
        users: Vec<i32>,
    },
    privacyValueDisallowContacts,
    privacyValueDisallowAll,
    privacyValueDisallowUsers {
        users: Vec<i32>,
    },
}

Variants

Fields of privacyValueAllowUsers

Fields of privacyValueDisallowUsers

Trait Implementations

impl Debug for PrivacyRule
[src]

Formats the value using the given formatter.

impl Serialize for PrivacyRule

Serialize to the passed buffer.