pub struct UpdateNotifySettings {
pub peer: NotifyPeer,
pub notify_settings: PeerNotifySettings,
}Expand description
Generated from:
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = UpdateFields§
§peer: NotifyPeer§notify_settings: PeerNotifySettingsTrait Implementations§
Source§impl Clone for UpdateNotifySettings
impl Clone for UpdateNotifySettings
Source§fn clone(&self) -> UpdateNotifySettings
fn clone(&self) -> UpdateNotifySettings
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 UpdateNotifySettings
impl Debug for UpdateNotifySettings
Source§impl Deserializable for UpdateNotifySettings
impl Deserializable for UpdateNotifySettings
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<UpdateNotifySettings> for Update
impl From<UpdateNotifySettings> for Update
Source§fn from(x: UpdateNotifySettings) -> Self
fn from(x: UpdateNotifySettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateNotifySettings
impl Identifiable for UpdateNotifySettings
Source§const CONSTRUCTOR_ID: u32 = 0xbec268ef
const CONSTRUCTOR_ID: u32 = 0xbec268ef
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateNotifySettings
impl PartialEq for UpdateNotifySettings
Source§impl Serializable for UpdateNotifySettings
impl Serializable for UpdateNotifySettings
Source§impl TryFrom<Update> for UpdateNotifySettings
impl TryFrom<Update> for UpdateNotifySettings
impl StructuralPartialEq for UpdateNotifySettings
Auto Trait Implementations§
impl Freeze for UpdateNotifySettings
impl RefUnwindSafe for UpdateNotifySettings
impl Send for UpdateNotifySettings
impl Sync for UpdateNotifySettings
impl Unpin for UpdateNotifySettings
impl UnsafeUnpin for UpdateNotifySettings
impl UnwindSafe for UpdateNotifySettings
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