Struct cyfs_bdt::chunk::ChunkDownloadConfig
source · [−]pub struct ChunkDownloadConfig {
pub prefer_source: DeviceId,
pub force_stream: bool,
pub second_source: Option<DeviceId>,
pub more_source: Vec<DeviceId>,
pub referer: Option<String>,
}Fields
prefer_source: DeviceIdforce_stream: boolsecond_source: Option<DeviceId>more_source: Vec<DeviceId>referer: Option<String>Implementations
Trait Implementations
sourceimpl Clone for ChunkDownloadConfig
impl Clone for ChunkDownloadConfig
sourcefn clone(&self) -> ChunkDownloadConfig
fn clone(&self) -> ChunkDownloadConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChunkDownloadConfig
impl Send for ChunkDownloadConfig
impl Sync for ChunkDownloadConfig
impl Unpin for ChunkDownloadConfig
impl UnwindSafe for ChunkDownloadConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more