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

source

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

source§

fn masked_clone(&self, anonymizer: &mut StatefulSdpAnonymizer) -> Self

source§

impl Clone for SdpAttributeCandidate

source§

fn clone(&self) -> SdpAttributeCandidate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SdpAttributeCandidate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SdpAttributeCandidate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.