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