pub struct MessageActionPhoneCall {
pub video: bool,
pub call_id: i64,
pub reason: Option<PhoneCallDiscardReason>,
pub duration: Option<i32>,
}Expand description
Read messageActionPhoneCall docs.
Generated from the following TL definition:
messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageActionFields§
§video: bool§call_id: i64§reason: Option<PhoneCallDiscardReason>§duration: Option<i32>Trait Implementations§
Source§impl Clone for MessageActionPhoneCall
impl Clone for MessageActionPhoneCall
Source§fn clone(&self) -> MessageActionPhoneCall
fn clone(&self) -> MessageActionPhoneCall
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 MessageActionPhoneCall
impl Debug for MessageActionPhoneCall
Source§impl From<MessageActionPhoneCall> for MessageAction
impl From<MessageActionPhoneCall> for MessageAction
Source§fn from(x: MessageActionPhoneCall) -> Self
fn from(x: MessageActionPhoneCall) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionPhoneCall
impl Identifiable for MessageActionPhoneCall
Source§const CONSTRUCTOR_ID: u32 = 2162236031
const CONSTRUCTOR_ID: u32 = 2162236031
The unique identifier for the type.
Source§impl PartialEq for MessageActionPhoneCall
impl PartialEq for MessageActionPhoneCall
impl StructuralPartialEq for MessageActionPhoneCall
Auto Trait Implementations§
impl Freeze for MessageActionPhoneCall
impl RefUnwindSafe for MessageActionPhoneCall
impl Send for MessageActionPhoneCall
impl Sync for MessageActionPhoneCall
impl Unpin for MessageActionPhoneCall
impl UnsafeUnpin for MessageActionPhoneCall
impl UnwindSafe for MessageActionPhoneCall
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