pub struct CollectionsManager { /* private fields */ }Expand description
Operations for the “collections” API area.
Implementations§
Source§impl CollectionsManager
impl CollectionsManager
Sourcepub fn list(
&self,
opts: Option<CollectionsListOptions>,
) -> CollectionsListPaginator
pub fn list( &self, opts: Option<CollectionsListOptions>, ) -> CollectionsListPaginator
Iterate every crate::models::schemas::Collection across pages, threading the cursor.
Sourcepub fn list_items(
&self,
collection_id: String,
opts: Option<CollectionsListItemsOptions>,
) -> CollectionsListItemsPaginator
pub fn list_items( &self, collection_id: String, opts: Option<CollectionsListItemsOptions>, ) -> CollectionsListItemsPaginator
Iterate every crate::models::schemas::Item across pages, threading the cursor.
pub async fn get(&self, collection_id: String) -> Result<Collection, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for CollectionsManager
impl !UnwindSafe for CollectionsManager
impl Freeze for CollectionsManager
impl Send for CollectionsManager
impl Sync for CollectionsManager
impl Unpin for CollectionsManager
impl UnsafeUnpin for CollectionsManager
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