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: StringThe originator’s user name, or - when withheld.
session_id: u64A globally unique session identifier.
session_version: u64Incremented on each modification of the session description.
network_type: StringThe network type, always IN in practice.
address_type: StringThe address type, IP4 or IP6.
unicast_address: StringThe originator’s address. WebRTC does not use it and sends a placeholder.
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 UnsafeUnpin 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