pub struct RequestQueueCollectionClient { /* private fields */ }Expand description
Client for listing request queues and getting-or-creating one by name.
Implementations§
Source§impl RequestQueueCollectionClient
impl RequestQueueCollectionClient
Sourcepub async fn list(
&self,
options: StorageListOptions,
) -> ApifyClientResult<PaginationList<RequestQueue>>
pub async fn list( &self, options: StorageListOptions, ) -> ApifyClientResult<PaginationList<RequestQueue>>
Lists request queues with offset/limit pagination, optionally filtering by
unnamed/ownership.
Sourcepub async fn get_or_create(
&self,
name: Option<&str>,
) -> ApifyClientResult<RequestQueue>
pub async fn get_or_create( &self, name: Option<&str>, ) -> ApifyClientResult<RequestQueue>
Gets the queue with the given name, creating it if it does not exist.
Trait Implementations§
Source§impl Clone for RequestQueueCollectionClient
impl Clone for RequestQueueCollectionClient
Source§fn clone(&self) -> RequestQueueCollectionClient
fn clone(&self) -> RequestQueueCollectionClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RequestQueueCollectionClient
impl !UnwindSafe for RequestQueueCollectionClient
impl Freeze for RequestQueueCollectionClient
impl Send for RequestQueueCollectionClient
impl Sync for RequestQueueCollectionClient
impl Unpin for RequestQueueCollectionClient
impl UnsafeUnpin for RequestQueueCollectionClient
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