pub struct MediaStreamDescription {
pub id: String,
pub transport: TransportOptions,
pub video: Option<MediaVideoStreamDescription>,
pub audio: Option<MediaAudioStreamDescription>,
}
Fields§
§id: String
§transport: TransportOptions
§video: Option<MediaVideoStreamDescription>
§audio: Option<MediaAudioStreamDescription>
Trait Implementations§
Source§impl Clone for MediaStreamDescription
impl Clone for MediaStreamDescription
Source§fn clone(&self) -> MediaStreamDescription
fn clone(&self) -> MediaStreamDescription
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 MediaStreamDescription
impl Debug for MediaStreamDescription
Source§impl<'de> Deserialize<'de> for MediaStreamDescription
impl<'de> Deserialize<'de> for MediaStreamDescription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MediaStreamDescription
impl RefUnwindSafe for MediaStreamDescription
impl Send for MediaStreamDescription
impl Sync for MediaStreamDescription
impl Unpin for MediaStreamDescription
impl UnwindSafe for MediaStreamDescription
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