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
id: u32
resource_url: String
name: String
profile: Option<String>
releases_url: Option<String>
contact_info: Option<String>
uri: Option<String>
urls: Option<Vec<String>>
data_quality: Option<DataQuality>
sublabels: Option<Vec<Label>>
Methods
impl Label
[src]
pub fn new(id: u32, name: String, resource_url: String) -> Label
[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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Label
[src]
fn clone(&self) -> Label
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more