pub struct PlayerConfig {
pub audio_config: AudioConfig,
pub stream_selection_config: Option<StreamSelectionConfig>,
pub media_common_config: MediaCommonConfig,
pub web_player_config: WebPlayerConfig,
}
Fields§
§audio_config: AudioConfig
§stream_selection_config: Option<StreamSelectionConfig>
§media_common_config: MediaCommonConfig
§web_player_config: WebPlayerConfig
Trait Implementations§
Source§impl Clone for PlayerConfig
impl Clone for PlayerConfig
Source§fn clone(&self) -> PlayerConfig
fn clone(&self) -> PlayerConfig
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 PlayerConfig
impl Debug for PlayerConfig
Source§impl<'de> Deserialize<'de> for PlayerConfig
impl<'de> Deserialize<'de> for PlayerConfig
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 PlayerConfig
impl RefUnwindSafe for PlayerConfig
impl Send for PlayerConfig
impl Sync for PlayerConfig
impl Unpin for PlayerConfig
impl UnwindSafe for PlayerConfig
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