#[non_exhaustive]pub struct AudioQualityMetricsInfoBuilder { /* private fields */ }Expand description
A builder for AudioQualityMetricsInfo.
Implementations§
source§impl AudioQualityMetricsInfoBuilder
impl AudioQualityMetricsInfoBuilder
sourcepub fn quality_score(self, input: f32) -> Self
pub fn quality_score(self, input: f32) -> Self
Number measuring the estimated quality of the media connection.
sourcepub fn set_quality_score(self, input: Option<f32>) -> Self
pub fn set_quality_score(self, input: Option<f32>) -> Self
Number measuring the estimated quality of the media connection.
sourcepub fn get_quality_score(&self) -> &Option<f32>
pub fn get_quality_score(&self) -> &Option<f32>
Number measuring the estimated quality of the media connection.
sourcepub fn potential_quality_issues(self, input: impl Into<String>) -> Self
pub fn potential_quality_issues(self, input: impl Into<String>) -> Self
Appends an item to potential_quality_issues.
To override the contents of this collection use set_potential_quality_issues.
List of potential issues causing degradation of quality on a media connection. If the service did not detect any potential quality issues the list is empty.
Valid values: HighPacketLoss | HighRoundTripTime | HighJitterBuffer
sourcepub fn set_potential_quality_issues(self, input: Option<Vec<String>>) -> Self
pub fn set_potential_quality_issues(self, input: Option<Vec<String>>) -> Self
List of potential issues causing degradation of quality on a media connection. If the service did not detect any potential quality issues the list is empty.
Valid values: HighPacketLoss | HighRoundTripTime | HighJitterBuffer
sourcepub fn get_potential_quality_issues(&self) -> &Option<Vec<String>>
pub fn get_potential_quality_issues(&self) -> &Option<Vec<String>>
List of potential issues causing degradation of quality on a media connection. If the service did not detect any potential quality issues the list is empty.
Valid values: HighPacketLoss | HighRoundTripTime | HighJitterBuffer
sourcepub fn build(self) -> AudioQualityMetricsInfo
pub fn build(self) -> AudioQualityMetricsInfo
Consumes the builder and constructs a AudioQualityMetricsInfo.
Trait Implementations§
source§impl Clone for AudioQualityMetricsInfoBuilder
impl Clone for AudioQualityMetricsInfoBuilder
source§fn clone(&self) -> AudioQualityMetricsInfoBuilder
fn clone(&self) -> AudioQualityMetricsInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AudioQualityMetricsInfoBuilder
impl Default for AudioQualityMetricsInfoBuilder
source§fn default() -> AudioQualityMetricsInfoBuilder
fn default() -> AudioQualityMetricsInfoBuilder
source§impl PartialEq for AudioQualityMetricsInfoBuilder
impl PartialEq for AudioQualityMetricsInfoBuilder
source§fn eq(&self, other: &AudioQualityMetricsInfoBuilder) -> bool
fn eq(&self, other: &AudioQualityMetricsInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AudioQualityMetricsInfoBuilder
Auto Trait Implementations§
impl Freeze for AudioQualityMetricsInfoBuilder
impl RefUnwindSafe for AudioQualityMetricsInfoBuilder
impl Send for AudioQualityMetricsInfoBuilder
impl Sync for AudioQualityMetricsInfoBuilder
impl Unpin for AudioQualityMetricsInfoBuilder
impl UnwindSafe for AudioQualityMetricsInfoBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more