pub struct PhoneCall {Show 14 fields
pub p2p_allowed: bool,
pub video: bool,
pub conference_supported: bool,
pub id: i64,
pub access_hash: i64,
pub date: i32,
pub admin_id: i64,
pub participant_id: i64,
pub g_a_or_b: Vec<u8>,
pub key_fingerprint: i64,
pub protocol: PhoneCallProtocol,
pub connections: Vec<PhoneConnection>,
pub start_date: i32,
pub custom_parameters: Option<DataJson>,
}Expand description
Generated from:
phoneCall#30535af5 flags:# p2p_allowed:flags.5?true video:flags.6?true conference_supported:flags.8?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector<PhoneConnection> start_date:int custom_parameters:flags.7?DataJSON = PhoneCallFields§
§p2p_allowed: bool§video: bool§conference_supported: bool§id: i64§access_hash: i64§date: i32§admin_id: i64§participant_id: i64§g_a_or_b: Vec<u8>§key_fingerprint: i64§protocol: PhoneCallProtocol§connections: Vec<PhoneConnection>§start_date: i32§custom_parameters: Option<DataJson>Trait Implementations§
Source§impl Deserializable for PhoneCall
impl Deserializable for PhoneCall
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 Identifiable for PhoneCall
impl Identifiable for PhoneCall
Source§const CONSTRUCTOR_ID: u32 = 0x30535af5
const CONSTRUCTOR_ID: u32 = 0x30535af5
The constructor ID as specified in the TL schema.
Source§impl Serializable for PhoneCall
impl Serializable for PhoneCall
impl StructuralPartialEq for PhoneCall
Auto Trait Implementations§
impl Freeze for PhoneCall
impl RefUnwindSafe for PhoneCall
impl Send for PhoneCall
impl Sync for PhoneCall
impl Unpin for PhoneCall
impl UnsafeUnpin for PhoneCall
impl UnwindSafe for PhoneCall
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