pub struct View<Attributes, T> {
pub href: Option<String>,
pub next: Option<String>,
pub attributes: Attributes,
pub data: Vec<T>,
/* private fields */
}
Expand description
Apple music view
Fields§
§href: Option<String>
The relative location to fetch the view directly
next: Option<String>
The relative location to request the next page of resources in the collection, if additional resources are available for fetching
attributes: Attributes
Attributes
data: Vec<T>
Data
Implementations§
Trait Implementations§
Source§impl<'de, Attributes, T> Deserialize<'de> for View<Attributes, T>where
Attributes: Deserialize<'de>,
T: Deserialize<'de>,
impl<'de, Attributes, T> Deserialize<'de> for View<Attributes, T>where
Attributes: Deserialize<'de>,
T: Deserialize<'de>,
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
impl<Attributes, T> Eq for View<Attributes, T>
Auto Trait Implementations§
impl<Attributes, T> Freeze for View<Attributes, T>where
Attributes: Freeze,
impl<Attributes, T> RefUnwindSafe for View<Attributes, T>where
Attributes: RefUnwindSafe,
T: RefUnwindSafe,
impl<Attributes, T> Send for View<Attributes, T>
impl<Attributes, T> Sync for View<Attributes, T>
impl<Attributes, T> Unpin for View<Attributes, T>
impl<Attributes, T> UnwindSafe for View<Attributes, T>where
Attributes: UnwindSafe,
T: UnwindSafe,
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