pub struct InputPrivacyValueAllowUsers {
pub users: Vec<InputUser>,
}Expand description
Generated from:
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRuleFields§
§users: Vec<InputUser>Trait Implementations§
Source§impl Clone for InputPrivacyValueAllowUsers
impl Clone for InputPrivacyValueAllowUsers
Source§fn clone(&self) -> InputPrivacyValueAllowUsers
fn clone(&self) -> InputPrivacyValueAllowUsers
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 Debug for InputPrivacyValueAllowUsers
impl Debug for InputPrivacyValueAllowUsers
Source§impl Deserializable for InputPrivacyValueAllowUsers
impl Deserializable for InputPrivacyValueAllowUsers
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputPrivacyValueAllowUsers> for InputPrivacyRule
impl From<InputPrivacyValueAllowUsers> for InputPrivacyRule
Source§fn from(x: InputPrivacyValueAllowUsers) -> Self
fn from(x: InputPrivacyValueAllowUsers) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPrivacyValueAllowUsers
impl Identifiable for InputPrivacyValueAllowUsers
Source§const CONSTRUCTOR_ID: u32 = 0x131cc67f
const CONSTRUCTOR_ID: u32 = 0x131cc67f
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputPrivacyRule> for InputPrivacyValueAllowUsers
impl TryFrom<InputPrivacyRule> for InputPrivacyValueAllowUsers
Source§type Error = InputPrivacyRule
type Error = InputPrivacyRule
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputPrivacyValueAllowUsers
Auto Trait Implementations§
impl Freeze for InputPrivacyValueAllowUsers
impl RefUnwindSafe for InputPrivacyValueAllowUsers
impl Send for InputPrivacyValueAllowUsers
impl Sync for InputPrivacyValueAllowUsers
impl Unpin for InputPrivacyValueAllowUsers
impl UnsafeUnpin for InputPrivacyValueAllowUsers
impl UnwindSafe for InputPrivacyValueAllowUsers
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