Struct rust_tdlib::types::UserPrivacySettingRules
source · [−]pub struct UserPrivacySettingRules { /* private fields */ }Expand description
A list of privacy rules. Rules are matched in the specified order. The first matched rule defines the privacy setting for a given user. If no rule matches, the action is not allowed
Implementations
Trait Implementations
sourceimpl AsRef<UserPrivacySettingRules> for UserPrivacySettingRules
impl AsRef<UserPrivacySettingRules> for UserPrivacySettingRules
sourcefn as_ref(&self) -> &UserPrivacySettingRules
fn as_ref(&self) -> &UserPrivacySettingRules
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UserPrivacySettingRules
impl Clone for UserPrivacySettingRules
sourcefn clone(&self) -> UserPrivacySettingRules
fn clone(&self) -> UserPrivacySettingRules
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UserPrivacySettingRules
impl Debug for UserPrivacySettingRules
sourceimpl Default for UserPrivacySettingRules
impl Default for UserPrivacySettingRules
sourcefn default() -> UserPrivacySettingRules
fn default() -> UserPrivacySettingRules
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserPrivacySettingRules
impl<'de> Deserialize<'de> for UserPrivacySettingRules
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for UserPrivacySettingRules
impl Serialize for UserPrivacySettingRules
Auto Trait Implementations
impl RefUnwindSafe for UserPrivacySettingRules
impl Send for UserPrivacySettingRules
impl Sync for UserPrivacySettingRules
impl Unpin for UserPrivacySettingRules
impl UnwindSafe for UserPrivacySettingRules
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more