pub struct DatasetDownloadOptions {
pub items: DatasetListItemsOptions,
pub attachment: Option<bool>,
pub bom: Option<bool>,
pub delimiter: Option<String>,
pub skip_header_row: Option<bool>,
pub xml_root: Option<String>,
pub xml_row: Option<String>,
pub feed_title: Option<String>,
pub feed_description: Option<String>,
}Expand description
Format-specific options for DatasetClient::download_items, on top of the shared
filtering/projection options.
Fields§
§items: DatasetListItemsOptionsShared item filtering/projection options.
attachment: Option<bool>Set Content-Disposition: attachment on the response.
bom: Option<bool>Prepend a UTF-8 BOM (useful for Excel-compatible CSV).
delimiter: Option<String>CSV field delimiter (default ,).
skip_header_row: Option<bool>Omit the CSV header row.
xml_root: Option<String>Name of the root XML element (default items).
xml_row: Option<String>Name of the per-item XML element (default item).
feed_title: Option<String>Title to use for RSS/Atom feed exports.
feed_description: Option<String>Description to use for RSS/Atom feed exports.
Trait Implementations§
Source§impl Clone for DatasetDownloadOptions
impl Clone for DatasetDownloadOptions
Source§fn clone(&self) -> DatasetDownloadOptions
fn clone(&self) -> DatasetDownloadOptions
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 DatasetDownloadOptions
impl Debug for DatasetDownloadOptions
Source§impl Default for DatasetDownloadOptions
impl Default for DatasetDownloadOptions
Source§fn default() -> DatasetDownloadOptions
fn default() -> DatasetDownloadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DatasetDownloadOptions
impl RefUnwindSafe for DatasetDownloadOptions
impl Send for DatasetDownloadOptions
impl Sync for DatasetDownloadOptions
impl Unpin for DatasetDownloadOptions
impl UnsafeUnpin for DatasetDownloadOptions
impl UnwindSafe for DatasetDownloadOptions
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