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

Methods

impl Master
[src]

[src]

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]

[src]

Formats the value using the given formatter. Read more

impl Clone for Master
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Master
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Master

impl Sync for Master