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 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
Source§fn clone(&self) -> ActorVersionCollectionClient
fn clone(&self) -> ActorVersionCollectionClient
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 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