Struct webrtc_sdp::attribute_type::SdpAttributeCandidate
source · pub struct SdpAttributeCandidate {Show 14 fields
pub foundation: String,
pub component: u32,
pub transport: SdpAttributeCandidateTransport,
pub priority: u64,
pub address: Address,
pub port: u32,
pub c_type: SdpAttributeCandidateType,
pub raddr: Option<Address>,
pub rport: Option<u32>,
pub tcp_type: Option<SdpAttributeCandidateTcpType>,
pub generation: Option<u32>,
pub ufrag: Option<String>,
pub networkcost: Option<u32>,
pub unknown_extensions: Vec<(String, String)>,
}
Fields§
§foundation: String
§component: u32
§transport: SdpAttributeCandidateTransport
§priority: u64
§address: Address
§port: u32
§c_type: SdpAttributeCandidateType
§raddr: Option<Address>
§rport: Option<u32>
§tcp_type: Option<SdpAttributeCandidateTcpType>
§generation: Option<u32>
§ufrag: Option<String>
§networkcost: Option<u32>
§unknown_extensions: Vec<(String, String)>
Implementations§
source§impl SdpAttributeCandidate
impl SdpAttributeCandidate
pub fn new( foundation: String, component: u32, transport: SdpAttributeCandidateTransport, priority: u64, address: Address, port: u32, c_type: SdpAttributeCandidateType ) -> SdpAttributeCandidate
Trait Implementations§
source§impl AnonymizingClone for SdpAttributeCandidate
impl AnonymizingClone for SdpAttributeCandidate
fn masked_clone(&self, anonymizer: &mut StatefulSdpAnonymizer) -> Self
source§impl Clone for SdpAttributeCandidate
impl Clone for SdpAttributeCandidate
source§fn clone(&self) -> SdpAttributeCandidate
fn clone(&self) -> SdpAttributeCandidate
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 SdpAttributeCandidate
impl Debug for SdpAttributeCandidate
Auto Trait Implementations§
impl RefUnwindSafe for SdpAttributeCandidate
impl Send for SdpAttributeCandidate
impl Sync for SdpAttributeCandidate
impl Unpin for SdpAttributeCandidate
impl UnwindSafe for SdpAttributeCandidate
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