pub struct StreamOptions {
pub bytes_per_pixel: Option<f32>,
pub chat_enabled: Option<bool>,
pub chat_filter: Option<bool>,
pub compression: Option<bool>,
pub fps: Option<f32>,
pub bitrate: Option<f32>,
pub microphone_toggle_behavior: Option<bool>,
pub microphone_volume: Option<f32>,
pub preferred_server: Option<String>,
pub send_metadata: Option<bool>,
pub system_volume: Option<f32>,
}Fields§
§bytes_per_pixel: Option<f32>§chat_enabled: Option<bool>§chat_filter: Option<bool>§compression: Option<bool>§fps: Option<f32>§bitrate: Option<f32>§microphone_toggle_behavior: Option<bool>§microphone_volume: Option<f32>§preferred_server: Option<String>§send_metadata: Option<bool>§system_volume: Option<f32>Trait Implementations§
source§impl Clone for StreamOptions
impl Clone for StreamOptions
source§fn clone(&self) -> StreamOptions
fn clone(&self) -> StreamOptions
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 StreamOptions
impl Debug for StreamOptions
source§impl Default for StreamOptions
impl Default for StreamOptions
source§fn default() -> StreamOptions
fn default() -> StreamOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StreamOptionswhere
StreamOptions: Default,
impl<'de> Deserialize<'de> for StreamOptionswhere
StreamOptions: Default,
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 RefUnwindSafe for StreamOptions
impl Send for StreamOptions
impl Sync for StreamOptions
impl Unpin for StreamOptions
impl UnwindSafe for StreamOptions
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