pub struct Focus {
pub id: Option<String>,
pub type_field: Option<String>,
}Expand description
Focus model containing information about a focused item
This struct represents a focused item with its identification and type.
§Examples
use qobuz_api_rust::models::Focus;
let focus = Focus {
id: Some("focus123".to_string()),
type_field: Some("album".to_string()),
};Fields§
§id: Option<String>Unique identifier for the focus item
type_field: Option<String>Type of the focus item (e.g., “album”, “artist”, “track”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Focus
impl<'de> Deserialize<'de> for Focus
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 Focus
impl RefUnwindSafe for Focus
impl Send for Focus
impl Sync for Focus
impl Unpin for Focus
impl UnwindSafe for Focus
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