pub struct PhoneCallProtocol {
pub udp_p2p: bool,
pub udp_reflector: bool,
pub min_layer: i32,
pub max_layer: i32,
pub library_versions: Vec<String>,
}Expand description
Generated from:
phoneCallProtocol#fc878fc8 flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int library_versions:Vector<string> = PhoneCallProtocolFields§
§udp_p2p: bool§udp_reflector: bool§min_layer: i32§max_layer: i32§library_versions: Vec<String>Trait Implementations§
Source§impl Clone for PhoneCallProtocol
impl Clone for PhoneCallProtocol
Source§fn clone(&self) -> PhoneCallProtocol
fn clone(&self) -> PhoneCallProtocol
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 PhoneCallProtocol
impl Debug for PhoneCallProtocol
Source§impl Deserializable for PhoneCallProtocol
impl Deserializable for PhoneCallProtocol
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<PhoneCallProtocol> for PhoneCallProtocol
impl From<PhoneCallProtocol> for PhoneCallProtocol
Source§fn from(x: PhoneCallProtocol) -> Self
fn from(x: PhoneCallProtocol) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PhoneCallProtocol
impl Identifiable for PhoneCallProtocol
Source§const CONSTRUCTOR_ID: u32 = 0xfc878fc8
const CONSTRUCTOR_ID: u32 = 0xfc878fc8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PhoneCallProtocol
impl PartialEq for PhoneCallProtocol
Source§impl Serializable for PhoneCallProtocol
impl Serializable for PhoneCallProtocol
Source§impl TryFrom<PhoneCallProtocol> for PhoneCallProtocol
impl TryFrom<PhoneCallProtocol> for PhoneCallProtocol
Source§type Error = PhoneCallProtocol
type Error = PhoneCallProtocol
The type returned in the event of a conversion error.
impl StructuralPartialEq for PhoneCallProtocol
Auto Trait Implementations§
impl Freeze for PhoneCallProtocol
impl RefUnwindSafe for PhoneCallProtocol
impl Send for PhoneCallProtocol
impl Sync for PhoneCallProtocol
impl Unpin for PhoneCallProtocol
impl UnsafeUnpin for PhoneCallProtocol
impl UnwindSafe for PhoneCallProtocol
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