pub struct UpdateFavoritesResponse { /* private fields */ }
Implementations§
Source§impl UpdateFavoritesResponse
impl UpdateFavoritesResponse
Sourcepub fn favorites(&self) -> &[FavoriteResource]
pub fn favorites(&self) -> &[FavoriteResource]
The user’s updated favorite resources. Maintains the same ordering as the resources in the request.
Trait Implementations§
Source§impl Clone for UpdateFavoritesResponse
impl Clone for UpdateFavoritesResponse
Source§fn clone(&self) -> UpdateFavoritesResponse
fn clone(&self) -> UpdateFavoritesResponse
Returns a copy 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 Debug for UpdateFavoritesResponse
impl Debug for UpdateFavoritesResponse
Source§impl<'de> Deserialize<'de> for UpdateFavoritesResponse
impl<'de> Deserialize<'de> for UpdateFavoritesResponse
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 From<UpdateFavoritesResponse> for Builder<Complete>
impl From<UpdateFavoritesResponse> for Builder<Complete>
Source§fn from(v: UpdateFavoritesResponse) -> Self
fn from(v: UpdateFavoritesResponse) -> Self
Converts to this type from the input type.
Source§impl Hash for UpdateFavoritesResponse
impl Hash for UpdateFavoritesResponse
Source§impl Ord for UpdateFavoritesResponse
impl Ord for UpdateFavoritesResponse
Source§fn cmp(&self, other: &UpdateFavoritesResponse) -> Ordering
fn cmp(&self, other: &UpdateFavoritesResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UpdateFavoritesResponse
impl PartialEq for UpdateFavoritesResponse
Source§impl PartialOrd for UpdateFavoritesResponse
impl PartialOrd for UpdateFavoritesResponse
Source§impl Serialize for UpdateFavoritesResponse
impl Serialize for UpdateFavoritesResponse
impl Eq for UpdateFavoritesResponse
impl StructuralPartialEq for UpdateFavoritesResponse
Auto Trait Implementations§
impl Freeze for UpdateFavoritesResponse
impl RefUnwindSafe for UpdateFavoritesResponse
impl Send for UpdateFavoritesResponse
impl Sync for UpdateFavoritesResponse
impl Unpin for UpdateFavoritesResponse
impl UnwindSafe for UpdateFavoritesResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.