pub struct AdvancedSettings {
pub max_concurrent_segments: u32,
pub max_retries: u32,
pub max_concurrent_downloads: u32,
pub concurrent_fragments: u32,
pub stagger_delay_ms: u64,
pub torrent_listen_port: u16,
pub cookies_from_browser: String,
pub twitter_manual_cookie: String,
}Fields§
§max_concurrent_segments: u32§max_retries: u32§max_concurrent_downloads: u32§concurrent_fragments: u32§stagger_delay_ms: u64§torrent_listen_port: u16Trait Implementations§
Source§impl Clone for AdvancedSettings
impl Clone for AdvancedSettings
Source§fn clone(&self) -> AdvancedSettings
fn clone(&self) -> AdvancedSettings
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 AdvancedSettings
impl Debug for AdvancedSettings
Source§impl<'de> Deserialize<'de> for AdvancedSettings
impl<'de> Deserialize<'de> for AdvancedSettings
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 AdvancedSettings
impl RefUnwindSafe for AdvancedSettings
impl Send for AdvancedSettings
impl Sync for AdvancedSettings
impl Unpin for AdvancedSettings
impl UnsafeUnpin for AdvancedSettings
impl UnwindSafe for AdvancedSettings
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