pub struct IceCandidate {
pub foundation: String,
pub priority: u32,
pub address: String,
pub protocol: Protocol,
pub port: u16,
pub type_: IceCandidateType,
pub tcp_type: Option<IceCandidateTcpType>,
}
Expand description
The table IceCandidate
in the namespace FBS.WebRtcTransport
Generated from these locations:
- Table
IceCandidate
in the filefbs/webRtcTransport.fbs:87
Fields§
§foundation: String
The field foundation
in the table IceCandidate
priority: u32
The field priority
in the table IceCandidate
address: String
The field address
in the table IceCandidate
protocol: Protocol
The field protocol
in the table IceCandidate
port: u16
The field port
in the table IceCandidate
type_: IceCandidateType
The field type
in the table IceCandidate
tcp_type: Option<IceCandidateTcpType>
The field tcp_type
in the table IceCandidate
Implementations§
Source§impl IceCandidate
impl IceCandidate
Sourcepub fn builder() -> IceCandidateBuilder<()>
pub fn builder() -> IceCandidateBuilder<()>
Creates a IceCandidateBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_foundation: impl WriteAs<Offset<str>>, field_priority: impl WriteAsDefault<u32, u32>, field_address: impl WriteAs<Offset<str>>, field_protocol: impl WriteAsDefault<Protocol, Protocol>, field_port: impl WriteAsDefault<u16, u16>, field_type_: impl WriteAsDefault<IceCandidateType, IceCandidateType>, field_tcp_type: impl WriteAsOptional<IceCandidateTcpType>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for IceCandidate
impl Clone for IceCandidate
Source§fn clone(&self) -> IceCandidate
fn clone(&self) -> IceCandidate
Returns a copy 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 IceCandidate
impl Debug for IceCandidate
Source§impl<'de> Deserialize<'de> for IceCandidate
impl<'de> Deserialize<'de> for IceCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for IceCandidate
impl Hash for IceCandidate
Source§impl Ord for IceCandidate
impl Ord for IceCandidate
Source§fn cmp(&self, other: &IceCandidate) -> Ordering
fn cmp(&self, other: &IceCandidate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IceCandidate
impl PartialEq for IceCandidate
Source§impl PartialOrd for IceCandidate
impl PartialOrd for IceCandidate
Source§impl Serialize for IceCandidate
impl Serialize for IceCandidate
Source§impl<'a> TryFrom<IceCandidateRef<'a>> for IceCandidate
impl<'a> TryFrom<IceCandidateRef<'a>> for IceCandidate
impl Eq for IceCandidate
impl StructuralPartialEq for IceCandidate
impl VectorWrite<Offset<IceCandidate>> for IceCandidate
impl WriteAs<Offset<IceCandidate>> for IceCandidate
impl WriteAsOffset<IceCandidate> for IceCandidate
impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<u32, u32>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<Protocol, Protocol>, T4: WriteAsDefault<u16, u16>, T5: WriteAsDefault<IceCandidateType, IceCandidateType>, T6: WriteAsOptional<IceCandidateTcpType>> WriteAsOffset<IceCandidate> for IceCandidateBuilder<(T0, T1, T2, T3, T4, T5, T6)>
impl WriteAsOptional<Offset<IceCandidate>> for IceCandidate
Auto Trait Implementations§
impl Freeze for IceCandidate
impl RefUnwindSafe for IceCandidate
impl Send for IceCandidate
impl Sync for IceCandidate
impl Unpin for IceCandidate
impl UnwindSafe for IceCandidate
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