pub struct PhoneCallDiscardReasonHangup {}Expand description
Generated from:
phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReasonTrait Implementations§
Source§impl Clone for PhoneCallDiscardReasonHangup
impl Clone for PhoneCallDiscardReasonHangup
Source§fn clone(&self) -> PhoneCallDiscardReasonHangup
fn clone(&self) -> PhoneCallDiscardReasonHangup
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 PhoneCallDiscardReasonHangup
impl Debug for PhoneCallDiscardReasonHangup
Source§impl Deserializable for PhoneCallDiscardReasonHangup
impl Deserializable for PhoneCallDiscardReasonHangup
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<PhoneCallDiscardReasonHangup> for PhoneCallDiscardReason
impl From<PhoneCallDiscardReasonHangup> for PhoneCallDiscardReason
Source§fn from(_x: PhoneCallDiscardReasonHangup) -> Self
fn from(_x: PhoneCallDiscardReasonHangup) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PhoneCallDiscardReasonHangup
impl Identifiable for PhoneCallDiscardReasonHangup
Source§const CONSTRUCTOR_ID: u32 = 0x57adc690
const CONSTRUCTOR_ID: u32 = 0x57adc690
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PhoneCallDiscardReasonHangup
impl PartialEq for PhoneCallDiscardReasonHangup
Source§fn eq(&self, other: &PhoneCallDiscardReasonHangup) -> bool
fn eq(&self, other: &PhoneCallDiscardReasonHangup) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PhoneCallDiscardReasonHangup
Auto Trait Implementations§
impl Freeze for PhoneCallDiscardReasonHangup
impl RefUnwindSafe for PhoneCallDiscardReasonHangup
impl Send for PhoneCallDiscardReasonHangup
impl Sync for PhoneCallDiscardReasonHangup
impl Unpin for PhoneCallDiscardReasonHangup
impl UnsafeUnpin for PhoneCallDiscardReasonHangup
impl UnwindSafe for PhoneCallDiscardReasonHangup
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