pub struct RTCOfferOptions {
pub voice_activity_detection: bool,
pub ice_restart: bool,
}
Expand description
OfferOptions structure describes the options used to control the offer creation process
Fields§
§voice_activity_detection: bool
voice_activity_detection allows the application to provide information about whether it wishes voice detection feature to be enabled or disabled.
ice_restart: bool
ice_restart forces the underlying ice gathering process to be restarted. When this value is true, the generated description will have ICE credentials that are different from the current credentials
Trait Implementations§
source§impl Clone for RTCOfferOptions
impl Clone for RTCOfferOptions
source§fn clone(&self) -> RTCOfferOptions
fn clone(&self) -> RTCOfferOptions
Returns a copy 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 Debug for RTCOfferOptions
impl Debug for RTCOfferOptions
source§impl Default for RTCOfferOptions
impl Default for RTCOfferOptions
source§fn default() -> RTCOfferOptions
fn default() -> RTCOfferOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for RTCOfferOptions
impl PartialEq for RTCOfferOptions
source§fn eq(&self, other: &RTCOfferOptions) -> bool
fn eq(&self, other: &RTCOfferOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RTCOfferOptions
impl Eq for RTCOfferOptions
impl StructuralPartialEq for RTCOfferOptions
Auto Trait Implementations§
impl RefUnwindSafe for RTCOfferOptions
impl Send for RTCOfferOptions
impl Sync for RTCOfferOptions
impl Unpin for RTCOfferOptions
impl UnwindSafe for RTCOfferOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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