pub struct Distribution {
pub type_hint: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub download_url: Option<String>,
pub access_url: Option<String>,
pub media_type: Option<String>,
pub format: Option<String>,
pub license: Option<String>,
pub described_by: Option<String>,
pub described_by_type: Option<String>,
}Expand description
One downloadable or API-accessible representation of a dataset.
Fields§
§type_hint: Option<String>§title: Option<String>§description: Option<String>§download_url: Option<String>Direct download URL for the distribution file.
access_url: Option<String>Access URL for APIs or web-based views.
media_type: Option<String>IANA media type (e.g. text/csv).
format: Option<String>Short format label (e.g. CSV, JSON).
license: Option<String>§described_by: Option<String>§described_by_type: Option<String>Trait Implementations§
Source§impl Clone for Distribution
impl Clone for Distribution
Source§fn clone(&self) -> Distribution
fn clone(&self) -> Distribution
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 Distribution
impl Debug for Distribution
Source§impl<'de> Deserialize<'de> for Distribution
impl<'de> Deserialize<'de> for Distribution
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
Auto Trait Implementations§
impl Freeze for Distribution
impl RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl UnsafeUnpin for Distribution
impl UnwindSafe for Distribution
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