pub struct NotifyPeer {
pub peer: Peer,
}Expand description
Fields§
§peer: PeerTrait Implementations§
Source§impl Clone for NotifyPeer
impl Clone for NotifyPeer
Source§fn clone(&self) -> NotifyPeer
fn clone(&self) -> NotifyPeer
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 NotifyPeer
impl Debug for NotifyPeer
Source§impl Deserializable for NotifyPeer
impl Deserializable for NotifyPeer
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<NotifyPeer> for NotifyPeer
impl From<NotifyPeer> for NotifyPeer
Source§fn from(x: NotifyPeer) -> Self
fn from(x: NotifyPeer) -> Self
Converts to this type from the input type.
Source§impl Identifiable for NotifyPeer
impl Identifiable for NotifyPeer
Source§const CONSTRUCTOR_ID: u32 = 0x9fd40bd8
const CONSTRUCTOR_ID: u32 = 0x9fd40bd8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for NotifyPeer
impl PartialEq for NotifyPeer
Source§impl Serializable for NotifyPeer
impl Serializable for NotifyPeer
Source§impl TryFrom<NotifyPeer> for NotifyPeer
impl TryFrom<NotifyPeer> for NotifyPeer
Source§type Error = NotifyPeer
type Error = NotifyPeer
The type returned in the event of a conversion error.
impl StructuralPartialEq for NotifyPeer
Auto Trait Implementations§
impl Freeze for NotifyPeer
impl RefUnwindSafe for NotifyPeer
impl Send for NotifyPeer
impl Sync for NotifyPeer
impl Unpin for NotifyPeer
impl UnsafeUnpin for NotifyPeer
impl UnwindSafe for NotifyPeer
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