pub struct UpdatePrivacy {
pub key: PrivacyKey,
pub rules: Vec<PrivacyRule>,
}Expand description
Generated from:
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = UpdateFields§
§key: PrivacyKey§rules: Vec<PrivacyRule>Trait Implementations§
Source§impl Clone for UpdatePrivacy
impl Clone for UpdatePrivacy
Source§fn clone(&self) -> UpdatePrivacy
fn clone(&self) -> UpdatePrivacy
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 UpdatePrivacy
impl Debug for UpdatePrivacy
Source§impl Deserializable for UpdatePrivacy
impl Deserializable for UpdatePrivacy
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<UpdatePrivacy> for Update
impl From<UpdatePrivacy> for Update
Source§fn from(x: UpdatePrivacy) -> Self
fn from(x: UpdatePrivacy) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdatePrivacy
impl Identifiable for UpdatePrivacy
Source§const CONSTRUCTOR_ID: u32 = 0xee3b272a
const CONSTRUCTOR_ID: u32 = 0xee3b272a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdatePrivacy
impl PartialEq for UpdatePrivacy
Source§impl Serializable for UpdatePrivacy
impl Serializable for UpdatePrivacy
Source§impl TryFrom<Update> for UpdatePrivacy
impl TryFrom<Update> for UpdatePrivacy
impl StructuralPartialEq for UpdatePrivacy
Auto Trait Implementations§
impl Freeze for UpdatePrivacy
impl RefUnwindSafe for UpdatePrivacy
impl Send for UpdatePrivacy
impl Sync for UpdatePrivacy
impl Unpin for UpdatePrivacy
impl UnsafeUnpin for UpdatePrivacy
impl UnwindSafe for UpdatePrivacy
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