[−][src]Enum grammers_tl_types::enums::PhoneCallDiscardReason
Variants
Missed(PhoneCallDiscardReasonMissed)
Disconnect(PhoneCallDiscardReasonDisconnect)
Hangup(PhoneCallDiscardReasonHangup)
Trait Implementations
impl Clone for PhoneCallDiscardReason
[src]
fn clone(&self) -> PhoneCallDiscardReason
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PhoneCallDiscardReason
[src]
impl Deserializable for PhoneCallDiscardReason
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<PhoneCallDiscardReasonBusy> for PhoneCallDiscardReason
[src]
fn from(x: PhoneCallDiscardReasonBusy) -> Self
[src]
impl From<PhoneCallDiscardReasonDisconnect> for PhoneCallDiscardReason
[src]
fn from(x: PhoneCallDiscardReasonDisconnect) -> Self
[src]
impl From<PhoneCallDiscardReasonHangup> for PhoneCallDiscardReason
[src]
fn from(x: PhoneCallDiscardReasonHangup) -> Self
[src]
impl From<PhoneCallDiscardReasonMissed> for PhoneCallDiscardReason
[src]
fn from(x: PhoneCallDiscardReasonMissed) -> Self
[src]
impl PartialEq<PhoneCallDiscardReason> for PhoneCallDiscardReason
[src]
fn eq(&self, other: &PhoneCallDiscardReason) -> bool
[src]
fn ne(&self, other: &PhoneCallDiscardReason) -> bool
[src]
impl Serializable for PhoneCallDiscardReason
[src]
impl StructuralPartialEq for PhoneCallDiscardReason
[src]
impl TryFrom<PhoneCallDiscardReason> for PhoneCallDiscardReasonBusy
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PhoneCallDiscardReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<PhoneCallDiscardReason> for PhoneCallDiscardReasonDisconnect
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PhoneCallDiscardReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<PhoneCallDiscardReason> for PhoneCallDiscardReasonHangup
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PhoneCallDiscardReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<PhoneCallDiscardReason> for PhoneCallDiscardReasonMissed
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: PhoneCallDiscardReason) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for PhoneCallDiscardReason
impl Send for PhoneCallDiscardReason
impl Sync for PhoneCallDiscardReason
impl Unpin for PhoneCallDiscardReason
impl UnwindSafe for PhoneCallDiscardReason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,