pub struct UserPrivacySettingRuleAllowChatMembers {
pub chat_ids: Vec<i64>,
}
Expand description
A rule to allow all members of certain specified basic groups and supergroups to doing something
Fields§
§chat_ids: Vec<i64>
The chat identifiers, total number of chats in all rules must not exceed 20
Trait Implementations§
Source§impl Clone for UserPrivacySettingRuleAllowChatMembers
impl Clone for UserPrivacySettingRuleAllowChatMembers
Source§fn clone(&self) -> UserPrivacySettingRuleAllowChatMembers
fn clone(&self) -> UserPrivacySettingRuleAllowChatMembers
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for UserPrivacySettingRuleAllowChatMembers
impl Default for UserPrivacySettingRuleAllowChatMembers
Source§fn default() -> UserPrivacySettingRuleAllowChatMembers
fn default() -> UserPrivacySettingRuleAllowChatMembers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPrivacySettingRuleAllowChatMembers
impl<'de> Deserialize<'de> for UserPrivacySettingRuleAllowChatMembers
Source§fn 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
Source§impl PartialEq for UserPrivacySettingRuleAllowChatMembers
impl PartialEq for UserPrivacySettingRuleAllowChatMembers
Source§fn eq(&self, other: &UserPrivacySettingRuleAllowChatMembers) -> bool
fn eq(&self, other: &UserPrivacySettingRuleAllowChatMembers) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UserPrivacySettingRuleAllowChatMembers
Auto Trait Implementations§
impl Freeze for UserPrivacySettingRuleAllowChatMembers
impl RefUnwindSafe for UserPrivacySettingRuleAllowChatMembers
impl Send for UserPrivacySettingRuleAllowChatMembers
impl Sync for UserPrivacySettingRuleAllowChatMembers
impl Unpin for UserPrivacySettingRuleAllowChatMembers
impl UnwindSafe for UserPrivacySettingRuleAllowChatMembers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more