pub struct Label {
pub id: Option<i32>,
pub name: Option<String>,
pub slug: Option<String>,
}Expand description
Label model containing information about a record label
This struct represents a record label with its identification, name, and slug.
§Examples
use qobuz_api_rust::models::Label;
let label = Label {
id: Some(456),
name: Some("Example Records".to_string()),
slug: Some("example-records".to_string()),
};Fields§
§id: Option<i32>Unique identifier for the label
name: Option<String>Name of the label
slug: Option<String>URL-friendly slug for the label
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Label
impl<'de> Deserialize<'de> for Label
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 Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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