pub struct BreakpointDownloadHttpConfig {
pub range_accept: String,
}Expand description
HTTP behavior config for breakpoint range download.
This is usually provided by caller in task config. If missing, enqueue logic
fills it from crate::meow_config::MeowConfig.
Fields§
§range_accept: StringAccept header used by range GET chunk requests.
Typical value: application/octet-stream.
Trait Implementations§
Source§impl Clone for BreakpointDownloadHttpConfig
impl Clone for BreakpointDownloadHttpConfig
Source§fn clone(&self) -> BreakpointDownloadHttpConfig
fn clone(&self) -> BreakpointDownloadHttpConfig
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 BreakpointDownloadHttpConfig
impl Debug for BreakpointDownloadHttpConfig
Source§impl PartialEq for BreakpointDownloadHttpConfig
impl PartialEq for BreakpointDownloadHttpConfig
Source§fn eq(&self, other: &BreakpointDownloadHttpConfig) -> bool
fn eq(&self, other: &BreakpointDownloadHttpConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BreakpointDownloadHttpConfig
impl StructuralPartialEq for BreakpointDownloadHttpConfig
Auto Trait Implementations§
impl Freeze for BreakpointDownloadHttpConfig
impl RefUnwindSafe for BreakpointDownloadHttpConfig
impl Send for BreakpointDownloadHttpConfig
impl Sync for BreakpointDownloadHttpConfig
impl Unpin for BreakpointDownloadHttpConfig
impl UnsafeUnpin for BreakpointDownloadHttpConfig
impl UnwindSafe for BreakpointDownloadHttpConfig
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