pub struct SourceSettings {
pub default_source: String,
pub default_quality: Quality,
pub quality_fallback: Vec<Quality>,
pub js_priority: bool,
pub priority: Vec<String>,
pub platform_priority: Vec<String>,
}Fields§
§default_source: String§default_quality: Quality§quality_fallback: Vec<Quality>§js_priority: bool§priority: Vec<String>§platform_priority: Vec<String>Trait Implementations§
Source§impl Clone for SourceSettings
impl Clone for SourceSettings
Source§fn clone(&self) -> SourceSettings
fn clone(&self) -> SourceSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceSettings
impl Debug for SourceSettings
Source§impl Default for SourceSettings
impl Default for SourceSettings
Source§impl<'de> Deserialize<'de> for SourceSettings
impl<'de> Deserialize<'de> for SourceSettings
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 SourceSettings
impl RefUnwindSafe for SourceSettings
impl Send for SourceSettings
impl Sync for SourceSettings
impl Unpin for SourceSettings
impl UnsafeUnpin for SourceSettings
impl UnwindSafe for SourceSettings
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