pub struct ActorVersionCollectionClient { /* private fields */ }Expand description
Client for listing and creating Actor versions.
Implementations§
Source§impl ActorVersionCollectionClient
impl ActorVersionCollectionClient
Sourcepub async fn list(
&self,
options: ListOptions,
) -> ApifyClientResult<PaginationList<ActorVersion>>
pub async fn list( &self, options: ListOptions, ) -> ApifyClientResult<PaginationList<ActorVersion>>
Lists the Actor’s versions.
Sourcepub fn iterate(&self, options: ListOptions) -> ListIterator<ActorVersion>
pub fn iterate(&self, options: ListOptions) -> ListIterator<ActorVersion>
Lazily iterates over all versions matching options, fetching pages on demand.
options.limit caps the total number of items yielded across all pages, unlike
list where limit is a single page’s size. Set the per-page fetch size
with with_chunk_size; see
ListIterator for details.
Sourcepub async fn create<T: Serialize>(
&self,
version: &T,
) -> ApifyClientResult<ActorVersion>
pub async fn create<T: Serialize>( &self, version: &T, ) -> ApifyClientResult<ActorVersion>
Creates a new Actor version.
Trait Implementations§
Source§impl Clone for ActorVersionCollectionClient
impl Clone for ActorVersionCollectionClient
Auto Trait Implementations§
impl !RefUnwindSafe for ActorVersionCollectionClient
impl !UnwindSafe for ActorVersionCollectionClient
impl Freeze for ActorVersionCollectionClient
impl Send for ActorVersionCollectionClient
impl Sync for ActorVersionCollectionClient
impl Unpin for ActorVersionCollectionClient
impl UnsafeUnpin for ActorVersionCollectionClient
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