pub struct Origin {
pub username: String,
pub session_id: SdpDecimal,
pub session_version: SdpDecimal,
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: SdpDecimalA globally unique session identifier, 1*DIGIT of any length.
session_version: SdpDecimalIncremented on each modification of the session description; 1*DIGIT of any
length.
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 Forget for Origin
impl Freeze for Origin
impl Move for Origin
impl RefUnwindSafe for Origin
impl Send for Originwhere
RawVecInner: Send,
impl Sync for Originwhere
RawVecInner: Sync,
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Originwhere
RawVecInner: UnwindSafe,
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