pub struct SessionDescription { /* private fields */ }Expand description
Session description.
Implementations§
Source§impl SessionDescription
impl SessionDescription
Sourcepub fn builder() -> SessionDescriptionBuilder
pub fn builder() -> SessionDescriptionBuilder
Get a session description builder.
Sourcepub fn session_name(&self) -> &str
pub fn session_name(&self) -> &str
Get name of the session.
Sourcepub fn session_information(&self) -> Option<&str>
pub fn session_information(&self) -> Option<&str>
Get session information.
Sourcepub fn connection(&self) -> Option<&ConnectionInfo>
pub fn connection(&self) -> Option<&ConnectionInfo>
Get the session-wide connection info.
Sourcepub fn time_descriptions(&self) -> &[TimeDescription]
pub fn time_descriptions(&self) -> &[TimeDescription]
Get time description.
Sourcepub fn tz_adjustments(&self) -> &[TimeZoneAdjustment]
pub fn tz_adjustments(&self) -> &[TimeZoneAdjustment]
Get timezone adjustments.
Sourcepub fn encryption_key(&self) -> Option<&EncryptionKey>
pub fn encryption_key(&self) -> Option<&EncryptionKey>
Get the encryption key (if any).
Sourcepub fn attributes(&self) -> &Attributes
pub fn attributes(&self) -> &Attributes
Get the session-wide attributes.
Sourcepub fn media_descriptions(&self) -> &[MediaDescription]
pub fn media_descriptions(&self) -> &[MediaDescription]
Get media descriptions.
Trait Implementations§
Source§impl Clone for SessionDescription
impl Clone for SessionDescription
Source§fn clone(&self) -> SessionDescription
fn clone(&self) -> SessionDescription
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 moreSource§impl Display for SessionDescription
impl Display 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