pub struct DownloadOptions {
pub redundancy_strategy: Option<RedundancyStrategy>,
pub fallback: Option<bool>,
pub timeout_ms: Option<u64>,
pub act_publisher: Option<PublicKey>,
pub act_history_address: Option<Reference>,
pub act_timestamp: Option<i64>,
}Expand description
Download options. All fields are optional; Default::default()
keeps Bee defaults. Mirrors bee-go DownloadOptions.
Fields§
§redundancy_strategy: Option<RedundancyStrategy>Erasure-coded prefetch policy.
fallback: Option<bool>Allow strategy fallback. Bee default is true.
timeout_ms: Option<u64>Per-chunk retrieval timeout in milliseconds.
act_publisher: Option<PublicKey>ACT publisher public key.
act_history_address: Option<Reference>ACT history root for permission resolution.
act_timestamp: Option<i64>Unix timestamp at which to evaluate ACT permissions.
Trait Implementations§
Source§impl Clone for DownloadOptions
impl Clone for DownloadOptions
Source§fn clone(&self) -> DownloadOptions
fn clone(&self) -> DownloadOptions
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 DownloadOptions
impl Debug for DownloadOptions
Source§impl Default for DownloadOptions
impl Default for DownloadOptions
Source§fn default() -> DownloadOptions
fn default() -> DownloadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DownloadOptions
impl RefUnwindSafe for DownloadOptions
impl Send for DownloadOptions
impl Sync for DownloadOptions
impl Unpin for DownloadOptions
impl UnsafeUnpin for DownloadOptions
impl UnwindSafe for DownloadOptions
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