pub struct PhoneCallRequested {
pub video: bool,
pub id: i64,
pub access_hash: i64,
pub date: i32,
pub admin_id: i64,
pub participant_id: i64,
pub g_a_hash: Vec<u8>,
pub protocol: PhoneCallProtocol,
}Expand description
Generated from:
phoneCallRequested#14b0ed0c flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCallFields§
§video: bool§id: i64§access_hash: i64§date: i32§admin_id: i64§participant_id: i64§g_a_hash: Vec<u8>§protocol: PhoneCallProtocolTrait Implementations§
Source§impl Clone for PhoneCallRequested
impl Clone for PhoneCallRequested
Source§fn clone(&self) -> PhoneCallRequested
fn clone(&self) -> PhoneCallRequested
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 PhoneCallRequested
impl Debug for PhoneCallRequested
Source§impl Deserializable for PhoneCallRequested
impl Deserializable for PhoneCallRequested
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<PhoneCallRequested> for PhoneCall
impl From<PhoneCallRequested> for PhoneCall
Source§fn from(x: PhoneCallRequested) -> Self
fn from(x: PhoneCallRequested) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PhoneCallRequested
impl Identifiable for PhoneCallRequested
Source§const CONSTRUCTOR_ID: u32 = 0x14b0ed0c
const CONSTRUCTOR_ID: u32 = 0x14b0ed0c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PhoneCallRequested
impl PartialEq for PhoneCallRequested
Source§impl Serializable for PhoneCallRequested
impl Serializable for PhoneCallRequested
Source§impl TryFrom<PhoneCall> for PhoneCallRequested
impl TryFrom<PhoneCall> for PhoneCallRequested
impl StructuralPartialEq for PhoneCallRequested
Auto Trait Implementations§
impl Freeze for PhoneCallRequested
impl RefUnwindSafe for PhoneCallRequested
impl Send for PhoneCallRequested
impl Sync for PhoneCallRequested
impl Unpin for PhoneCallRequested
impl UnsafeUnpin for PhoneCallRequested
impl UnwindSafe for PhoneCallRequested
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