[][src]Struct webrtc_sdp::attribute_type::SdpAttributeCandidate

pub struct SdpAttributeCandidate {
    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: Stringcomponent: u32transport: SdpAttributeCandidateTransportpriority: u64address: Addressport: u32c_type: SdpAttributeCandidateTyperaddr: Option<Address>rport: Option<u32>tcp_type: Option<SdpAttributeCandidateTcpType>generation: Option<u32>ufrag: Option<String>networkcost: Option<u32>unknown_extensions: Vec<(String, String)>

Methods

impl SdpAttributeCandidate[src]

pub fn new(
    foundation: String,
    component: u32,
    transport: SdpAttributeCandidateTransport,
    priority: u64,
    address: Address,
    port: u32,
    c_type: SdpAttributeCandidateType
) -> SdpAttributeCandidate
[src]

Trait Implementations

impl AnonymizingClone for SdpAttributeCandidate[src]

impl Clone for SdpAttributeCandidate[src]

impl Display for SdpAttributeCandidate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.