Struct servo_media_webrtc::SessionDescription
source · pub struct SessionDescription {
pub type_: SdpType,
pub sdp: String,
}
Expand description
https://www.w3.org/TR/webrtc/#rtcsessiondescription-class
https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription
Fields§
§type_: SdpType
§sdp: String
Trait Implementations§
source§impl Clone for SessionDescription
impl Clone for SessionDescription
source§fn clone(&self) -> SessionDescription
fn clone(&self) -> SessionDescription
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 SessionDescription
impl Debug for SessionDescription
source§impl Hash for SessionDescription
impl Hash for SessionDescription
source§impl PartialEq for SessionDescription
impl PartialEq for SessionDescription
source§fn eq(&self, other: &SessionDescription) -> bool
fn eq(&self, other: &SessionDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SessionDescription
impl StructuralPartialEq for SessionDescription
Auto Trait Implementations§
impl Freeze for SessionDescription
impl RefUnwindSafe for SessionDescription
impl Send for SessionDescription
impl Sync for SessionDescription
impl Unpin for SessionDescription
impl UnwindSafe for SessionDescription
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