pub struct BandwidthSettings {
pub adaptive_bitrate: bool,
pub max_bandwidth_kbps: u32,
pub compression_level: u8,
pub proximity_quality_scaling: bool,
pub low_bandwidth_mode: LowBandwidthMode,
}Expand description
Bandwidth optimization settings
Fields§
§adaptive_bitrate: boolAdaptive bitrate based on network conditions
max_bandwidth_kbps: u32Maximum bandwidth per user in kbps
compression_level: u8Compression level (0-10, higher = more compression)
proximity_quality_scaling: boolEnable proximity-based quality adjustment
low_bandwidth_mode: LowBandwidthModeLow bandwidth mode settings
Trait Implementations§
Source§impl Clone for BandwidthSettings
impl Clone for BandwidthSettings
Source§fn clone(&self) -> BandwidthSettings
fn clone(&self) -> BandwidthSettings
Returns a duplicate 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 BandwidthSettings
impl Debug for BandwidthSettings
Source§impl Default for BandwidthSettings
impl Default for BandwidthSettings
Source§impl<'de> Deserialize<'de> for BandwidthSettings
impl<'de> Deserialize<'de> for BandwidthSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BandwidthSettings
impl RefUnwindSafe for BandwidthSettings
impl Send for BandwidthSettings
impl Sync for BandwidthSettings
impl Unpin for BandwidthSettings
impl UnsafeUnpin for BandwidthSettings
impl UnwindSafe for BandwidthSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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