pub struct PhoneConnectionWebrtc {
pub turn: bool,
pub stun: bool,
pub id: i64,
pub ip: String,
pub ipv6: String,
pub port: i32,
pub username: String,
pub password: String,
}Expand description
Generated from:
phoneConnectionWebrtc#635fe375 flags:# turn:flags.0?true stun:flags.1?true id:long ip:string ipv6:string port:int username:string password:string = PhoneConnectionFields§
§turn: bool§stun: bool§id: i64§ip: String§ipv6: String§port: i32§username: String§password: StringTrait Implementations§
Source§impl Clone for PhoneConnectionWebrtc
impl Clone for PhoneConnectionWebrtc
Source§fn clone(&self) -> PhoneConnectionWebrtc
fn clone(&self) -> PhoneConnectionWebrtc
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 PhoneConnectionWebrtc
impl Debug for PhoneConnectionWebrtc
Source§impl Deserializable for PhoneConnectionWebrtc
impl Deserializable for PhoneConnectionWebrtc
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<PhoneConnectionWebrtc> for PhoneConnection
impl From<PhoneConnectionWebrtc> for PhoneConnection
Source§fn from(x: PhoneConnectionWebrtc) -> Self
fn from(x: PhoneConnectionWebrtc) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PhoneConnectionWebrtc
impl Identifiable for PhoneConnectionWebrtc
Source§const CONSTRUCTOR_ID: u32 = 0x635fe375
const CONSTRUCTOR_ID: u32 = 0x635fe375
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PhoneConnectionWebrtc
impl PartialEq for PhoneConnectionWebrtc
Source§impl Serializable for PhoneConnectionWebrtc
impl Serializable for PhoneConnectionWebrtc
Source§impl TryFrom<PhoneConnection> for PhoneConnectionWebrtc
impl TryFrom<PhoneConnection> for PhoneConnectionWebrtc
Source§type Error = PhoneConnection
type Error = PhoneConnection
The type returned in the event of a conversion error.
impl StructuralPartialEq for PhoneConnectionWebrtc
Auto Trait Implementations§
impl Freeze for PhoneConnectionWebrtc
impl RefUnwindSafe for PhoneConnectionWebrtc
impl Send for PhoneConnectionWebrtc
impl Sync for PhoneConnectionWebrtc
impl Unpin for PhoneConnectionWebrtc
impl UnsafeUnpin for PhoneConnectionWebrtc
impl UnwindSafe for PhoneConnectionWebrtc
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