pub struct UserPrivacySettingRuleRestrictUsers {
pub user_ids: Vec<i64>,
}
Expand description
A rule to restrict all specified users from doing something
Fields§
§user_ids: Vec<i64>
The user identifiers, total number of users in all rules must not exceed 1000
Trait Implementations§
Source§impl Clone for UserPrivacySettingRuleRestrictUsers
impl Clone for UserPrivacySettingRuleRestrictUsers
Source§fn clone(&self) -> UserPrivacySettingRuleRestrictUsers
fn clone(&self) -> UserPrivacySettingRuleRestrictUsers
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 UserPrivacySettingRuleRestrictUsers
impl Default for UserPrivacySettingRuleRestrictUsers
Source§fn default() -> UserPrivacySettingRuleRestrictUsers
fn default() -> UserPrivacySettingRuleRestrictUsers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPrivacySettingRuleRestrictUsers
impl<'de> Deserialize<'de> for UserPrivacySettingRuleRestrictUsers
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 UserPrivacySettingRuleRestrictUsers
impl PartialEq for UserPrivacySettingRuleRestrictUsers
Source§fn eq(&self, other: &UserPrivacySettingRuleRestrictUsers) -> bool
fn eq(&self, other: &UserPrivacySettingRuleRestrictUsers) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UserPrivacySettingRuleRestrictUsers
Auto Trait Implementations§
impl Freeze for UserPrivacySettingRuleRestrictUsers
impl RefUnwindSafe for UserPrivacySettingRuleRestrictUsers
impl Send for UserPrivacySettingRuleRestrictUsers
impl Sync for UserPrivacySettingRuleRestrictUsers
impl Unpin for UserPrivacySettingRuleRestrictUsers
impl UnwindSafe for UserPrivacySettingRuleRestrictUsers
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