Struct databento::historical::batch::DownloadParams
source · pub struct DownloadParams {
pub output_dir: PathBuf,
pub job_id: String,
pub filename_to_download: Option<String>,
}
Available on crate feature
historical
only.Expand description
The parameters for BatchClient::download()
. Use DownloadParams::builder()
to
get a builder type with all the preset defaults.
Fields§
§output_dir: PathBuf
The directory to download the file(s) to.
job_id: String
The batch job identifier.
filename_to_download: Option<String>
None
means all files associated with the job will be downloaded.
Implementations§
Trait Implementations§
source§impl Clone for DownloadParams
impl Clone for DownloadParams
source§fn clone(&self) -> DownloadParams
fn clone(&self) -> DownloadParams
Returns a copy 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 DownloadParams
impl Debug for DownloadParams
source§impl PartialEq for DownloadParams
impl PartialEq for DownloadParams
source§fn eq(&self, other: &DownloadParams) -> bool
fn eq(&self, other: &DownloadParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DownloadParams
impl StructuralPartialEq for DownloadParams
Auto Trait Implementations§
impl Freeze for DownloadParams
impl RefUnwindSafe for DownloadParams
impl Send for DownloadParams
impl Sync for DownloadParams
impl Unpin for DownloadParams
impl UnwindSafe for DownloadParams
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.