Struct sdp::description::session::Origin
source · pub struct Origin {
pub username: String,
pub session_id: u64,
pub session_version: u64,
pub network_type: String,
pub address_type: String,
pub unicast_address: String,
}
Expand description
Origin defines the structure for the “o=” field which provides the originator of the session plus a session identifier and version number.
Fields§
§username: String
§session_id: u64
§session_version: u64
§network_type: String
§address_type: String
§unicast_address: String
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnwindSafe for Origin
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