pub struct MediaDescription {
pub media_type: MediaType,
pub port: u16,
pub protocol: TransportProtocol,
pub formats: Vec<u8>,
pub rtpmaps: Vec<RtpMap>,
pub attributes: Vec<(String, Option<String>)>,
}Fields§
§media_type: MediaType§port: u16§protocol: TransportProtocol§formats: Vec<u8>§rtpmaps: Vec<RtpMap>§attributes: Vec<(String, Option<String>)>Implementations§
Trait Implementations§
Source§impl Clone for MediaDescription
impl Clone for MediaDescription
Source§fn clone(&self) -> MediaDescription
fn clone(&self) -> MediaDescription
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MediaDescription
impl RefUnwindSafe for MediaDescription
impl Send for MediaDescription
impl Sync for MediaDescription
impl Unpin for MediaDescription
impl UnsafeUnpin for MediaDescription
impl UnwindSafe for MediaDescription
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