pub struct ResourceResponse<R = Resource> {
pub data: Vec<R>,
}
Expand description
Apple music response
Fields§
§data: Vec<R>
Data
Trait Implementations§
Source§impl<R: Clone> Clone for ResourceResponse<R>
impl<R: Clone> Clone for ResourceResponse<R>
Source§fn clone(&self) -> ResourceResponse<R>
fn clone(&self) -> ResourceResponse<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<R: Debug> Debug for ResourceResponse<R>
impl<R: Debug> Debug for ResourceResponse<R>
Source§impl<'de, R> Deserialize<'de> for ResourceResponse<R>where
R: Deserialize<'de>,
impl<'de, R> Deserialize<'de> for ResourceResponse<R>where
R: 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
Source§impl<R: Hash> Hash for ResourceResponse<R>
impl<R: Hash> Hash for ResourceResponse<R>
Source§impl<R: PartialEq> PartialEq for ResourceResponse<R>
impl<R: PartialEq> PartialEq for ResourceResponse<R>
Source§impl<R> Serialize for ResourceResponse<R>where
R: Serialize,
impl<R> Serialize for ResourceResponse<R>where
R: Serialize,
impl<R: Eq> Eq for ResourceResponse<R>
impl<R> StructuralPartialEq for ResourceResponse<R>
Auto Trait Implementations§
impl<R> Freeze for ResourceResponse<R>
impl<R> RefUnwindSafe for ResourceResponse<R>where
R: RefUnwindSafe,
impl<R> Send for ResourceResponse<R>where
R: Send,
impl<R> Sync for ResourceResponse<R>where
R: Sync,
impl<R> Unpin for ResourceResponse<R>where
R: Unpin,
impl<R> UnwindSafe for ResourceResponse<R>where
R: 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