pub struct GetUserMediaResult {
pub audio_track_id: Option<u64>,
pub video_track_id: Option<u64>,
}Expand description
mediaGetUserMedia({ audio, video }) — resolves with a JSON object
containing the allocated local track IDs before the corresponding
mediaTrackReady events fire.
A field is absent (not null) when the caller did not request that
track kind. Hosts MUST use skip_serializing_if (or equivalent) to
omit unrequested fields rather than setting them to null.
Fields§
§audio_track_id: Option<u64>§video_track_id: Option<u64>Trait Implementations§
Source§impl Debug for GetUserMediaResult
impl Debug for GetUserMediaResult
Auto Trait Implementations§
impl Freeze for GetUserMediaResult
impl RefUnwindSafe for GetUserMediaResult
impl Send for GetUserMediaResult
impl Sync for GetUserMediaResult
impl Unpin for GetUserMediaResult
impl UnsafeUnpin for GetUserMediaResult
impl UnwindSafe for GetUserMediaResult
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