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