Struct discogs::data_structures::Master
[−]
[src]
pub struct Master { pub id: u32, pub resource_url: String, pub main_release: u32, pub main_release_url: String, pub title: Option<String>, pub year: Option<u32>, pub images: Option<Vec<Image>>, pub tracklist: Option<Vec<Track>>, pub uri: Option<String>, pub genres: Option<Vec<String>>, pub artists: Option<Vec<Artist>>, pub notes: Option<String>, pub videos: Option<Vec<Video>>, pub data_quality: Option<DataQuality>, pub num_for_sale: Option<u32>, pub styles: Option<Vec<String>>, pub versions_url: Option<String>, pub lowest_price: Option<f64>, }
Fields
id: u32
resource_url: String
main_release: u32
main_release_url: String
title: Option<String>
year: Option<u32>
images: Option<Vec<Image>>
tracklist: Option<Vec<Track>>
uri: Option<String>
genres: Option<Vec<String>>
artists: Option<Vec<Artist>>
notes: Option<String>
videos: Option<Vec<Video>>
data_quality: Option<DataQuality>
num_for_sale: Option<u32>
styles: Option<Vec<String>>
versions_url: Option<String>
lowest_price: Option<f64>
Methods
impl Master
[src]
fn new(
id: u32,
resource_url: String,
main_release: u32,
main_release_url: String
) -> Master
id: u32,
resource_url: String,
main_release: u32,
main_release_url: String
) -> Master
Creates a new instance of Master
Examples
use discogs::data_structures::Master; let master = Master::new(7896, "resource_url".to_string(), 982, "main_release_url".to_string());
Trait Implementations
impl Debug for Master
[src]
impl Clone for Master
[src]
fn clone(&self) -> Master
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more