pub struct DatasetSummary {
pub provider: DatasetProvider,
pub id: String,
pub title: Option<String>,
pub downloads: Option<u64>,
pub likes: Option<u64>,
pub last_modified: Option<String>,
pub description: Option<String>,
pub tags: Vec<String>,
pub file_count: Option<usize>,
pub size: Option<u64>,
pub url: Option<String>,
}Expand description
Lightweight dataset metadata returned by discovery calls.
Fields§
§provider: DatasetProviderProvider that produced the dataset.
id: StringStable provider id, such as owner/name or a Zenodo record id.
title: Option<String>Human-readable title when the provider exposes one.
downloads: Option<u64>Download count or similar popularity signal.
likes: Option<u64>Like/favorite count when available.
last_modified: Option<String>Last modification timestamp as returned by the provider.
description: Option<String>Short description when available.
Provider tags, keywords, or topics.
file_count: Option<usize>Number of downloadable files if known.
size: Option<u64>Total known file size in bytes.
url: Option<String>Canonical web URL for humans.
Trait Implementations§
Source§impl Clone for DatasetSummary
impl Clone for DatasetSummary
Source§fn clone(&self) -> DatasetSummary
fn clone(&self) -> DatasetSummary
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 DatasetSummary
impl Debug for DatasetSummary
Source§impl<'de> Deserialize<'de> for DatasetSummary
impl<'de> Deserialize<'de> for DatasetSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DatasetSummary
Source§impl PartialEq for DatasetSummary
impl PartialEq for DatasetSummary
Source§impl Serialize for DatasetSummary
impl Serialize for DatasetSummary
impl StructuralPartialEq for DatasetSummary
Auto Trait Implementations§
impl Freeze for DatasetSummary
impl RefUnwindSafe for DatasetSummary
impl Send for DatasetSummary
impl Sync for DatasetSummary
impl Unpin for DatasetSummary
impl UnsafeUnpin for DatasetSummary
impl UnwindSafe for DatasetSummary
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