Struct webrtc_sdp::attribute_type::SdpAttributeRtcp
source · pub struct SdpAttributeRtcp {
pub port: u16,
pub unicast_addr: Option<ExplicitlyTypedAddress>,
}
Fields§
§port: u16
§unicast_addr: Option<ExplicitlyTypedAddress>
Implementations§
source§impl SdpAttributeRtcp
impl SdpAttributeRtcp
pub fn new(port: u16) -> SdpAttributeRtcp
Trait Implementations§
source§impl Clone for SdpAttributeRtcp
impl Clone for SdpAttributeRtcp
source§fn clone(&self) -> SdpAttributeRtcp
fn clone(&self) -> SdpAttributeRtcp
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 SdpAttributeRtcp
impl Debug for SdpAttributeRtcp
Auto Trait Implementations§
impl RefUnwindSafe for SdpAttributeRtcp
impl Send for SdpAttributeRtcp
impl Sync for SdpAttributeRtcp
impl Unpin for SdpAttributeRtcp
impl UnwindSafe for SdpAttributeRtcp
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