pub struct Relationship<T> {
pub href: Option<String>,
pub next: Option<String>,
pub data: Vec<T>,
/* private fields */
}
Expand description
Apple music relationship
Fields§
§href: Option<String>
A relative location for the relationship
next: Option<String>
A relative cursor to fetch the next paginated collection of resources in the relationship if more exist
data: Vec<T>
Associated data
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Relationship<T>
impl<T: Clone> Clone for Relationship<T>
Source§fn clone(&self) -> Relationship<T>
fn clone(&self) -> Relationship<T>
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<T> Debug for Relationship<T>where
T: Debug,
impl<T> Debug for Relationship<T>where
T: Debug,
Source§impl<T> Default for Relationship<T>
impl<T> Default for Relationship<T>
Source§impl<'de, T> Deserialize<'de> for Relationship<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Relationship<T>where
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
Source§impl<T> Hash for Relationship<T>where
T: Hash,
impl<T> Hash for Relationship<T>where
T: Hash,
Source§impl<T> PartialEq for Relationship<T>where
T: PartialEq,
impl<T> PartialEq for Relationship<T>where
T: PartialEq,
Source§impl<T> Serialize for Relationship<T>where
T: Serialize,
impl<T> Serialize for Relationship<T>where
T: Serialize,
impl<T> Eq for Relationship<T>
Auto Trait Implementations§
impl<T> Freeze for Relationship<T>
impl<T> RefUnwindSafe for Relationship<T>where
T: RefUnwindSafe,
impl<T> Send for Relationship<T>where
T: Send,
impl<T> Sync for Relationship<T>where
T: Sync,
impl<T> Unpin for Relationship<T>where
T: Unpin,
impl<T> UnwindSafe for Relationship<T>where
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