pub struct AudioSettings {
pub publish_policy: Policy,
}
Expand description
Audio media type settings of a WebRtcPublish
media Element
.
Fields§
§publish_policy: Policy
Policy
to publish the audio media type with.
Trait Implementations§
source§impl Clone for AudioSettings
impl Clone for AudioSettings
source§fn clone(&self) -> AudioSettings
fn clone(&self) -> AudioSettings
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 AudioSettings
impl Debug for AudioSettings
source§impl Default for AudioSettings
impl Default for AudioSettings
source§fn default() -> AudioSettings
fn default() -> AudioSettings
Returns the “default value” for a type. Read more
source§impl PartialEq for AudioSettings
impl PartialEq for AudioSettings
source§fn eq(&self, other: &AudioSettings) -> bool
fn eq(&self, other: &AudioSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AudioSettings
impl Eq for AudioSettings
impl StructuralPartialEq for AudioSettings
Auto Trait Implementations§
impl RefUnwindSafe for AudioSettings
impl Send for AudioSettings
impl Sync for AudioSettings
impl Unpin for AudioSettings
impl UnwindSafe for AudioSettings
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