pub struct FavoritesServiceClient<T>(/* private fields */);
Expand description
Creating favorites allows users to pin specific resources (i.e. assets, workbooks, etc.) as favorites for quick access within search pages throughout the application for themselves.
Implementations§
Source§impl<T> FavoritesServiceClient<T>where
T: Client,
impl<T> FavoritesServiceClient<T>where
T: Client,
Sourcepub fn update_favorites(
&self,
auth_: &BearerToken,
request: &UpdateFavoritesRequest,
) -> Result<UpdateFavoritesResponse, Error>
pub fn update_favorites( &self, auth_: &BearerToken, request: &UpdateFavoritesRequest, ) -> Result<UpdateFavoritesResponse, Error>
Update the user’s favorited resources.
Sourcepub fn list_favorites(
&self,
auth_: &BearerToken,
request: &ListFavoritesRequest,
) -> Result<ListFavoritesResponse, Error>
pub fn list_favorites( &self, auth_: &BearerToken, request: &ListFavoritesRequest, ) -> Result<ListFavoritesResponse, Error>
Retrieves all the user’s favorites with filtering options on the resource types to include.
Trait Implementations§
Source§impl<T: Clone> Clone for FavoritesServiceClient<T>
impl<T: Clone> Clone for FavoritesServiceClient<T>
Source§fn clone(&self) -> FavoritesServiceClient<T>
fn clone(&self) -> FavoritesServiceClient<T>
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<T: Debug> Debug for FavoritesServiceClient<T>
impl<T: Debug> Debug for FavoritesServiceClient<T>
Auto Trait Implementations§
impl<T> Freeze for FavoritesServiceClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for FavoritesServiceClient<T>where
T: RefUnwindSafe,
impl<T> Send for FavoritesServiceClient<T>where
T: Send,
impl<T> Sync for FavoritesServiceClient<T>where
T: Sync,
impl<T> Unpin for FavoritesServiceClient<T>where
T: Unpin,
impl<T> UnwindSafe for FavoritesServiceClient<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