Struct discogs::data_structures::Label [] [src]

pub struct Label {
    pub id: u32,
    pub resource_url: String,
    pub name: String,
    pub profile: Option<String>,
    pub releases_url: Option<String>,
    pub contact_info: Option<String>,
    pub uri: Option<String>,
    pub urls: Option<Vec<String>>,
    pub data_quality: Option<DataQuality>,
    pub sublabels: Option<Vec<Label>>,
}

Fields

Methods

impl Label
[src]

[src]

Creates a new instance of Label

Examples

use discogs::data_structures::Label;

let label = Label::new(4567,
                       "name".to_string(),
                       "resource_url".to_string());

Trait Implementations

impl Debug for Label
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Label
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Label
[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 Label

impl Sync for Label