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