pub struct AutoDownloadSettingsPresets {
pub low: AutoDownloadSettings,
pub medium: AutoDownloadSettings,
pub high: AutoDownloadSettings,
}
Expand description
Contains auto-download settings presets for the current user
Fields§
§low: AutoDownloadSettings
Preset with lowest settings; supposed to be used by default when roaming
medium: AutoDownloadSettings
Preset with medium settings; supposed to be used by default when using mobile data
high: AutoDownloadSettings
Preset with highest settings; supposed to be used by default when connected on Wi-Fi
Trait Implementations§
Source§impl Clone for AutoDownloadSettingsPresets
impl Clone for AutoDownloadSettingsPresets
Source§fn clone(&self) -> AutoDownloadSettingsPresets
fn clone(&self) -> AutoDownloadSettingsPresets
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 AutoDownloadSettingsPresets
impl Debug for AutoDownloadSettingsPresets
Source§impl Default for AutoDownloadSettingsPresets
impl Default for AutoDownloadSettingsPresets
Source§fn default() -> AutoDownloadSettingsPresets
fn default() -> AutoDownloadSettingsPresets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoDownloadSettingsPresets
impl<'de> Deserialize<'de> for AutoDownloadSettingsPresets
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
impl StructuralPartialEq for AutoDownloadSettingsPresets
Auto Trait Implementations§
impl Freeze for AutoDownloadSettingsPresets
impl RefUnwindSafe for AutoDownloadSettingsPresets
impl Send for AutoDownloadSettingsPresets
impl Sync for AutoDownloadSettingsPresets
impl Unpin for AutoDownloadSettingsPresets
impl UnwindSafe for AutoDownloadSettingsPresets
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