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