pub struct Operations { /* private fields */ }Implementations§
Source§impl Operations
impl Operations
Sourcepub async fn get_with_config(
&self,
name: impl AsRef<str>,
config: GetOperationConfig,
) -> Result<Operation>
pub async fn get_with_config( &self, name: impl AsRef<str>, config: GetOperationConfig, ) -> Result<Operation>
获取操作状态(带配置)。
Sourcepub async fn list(&self) -> Result<ListOperationsResponse>
pub async fn list(&self) -> Result<ListOperationsResponse>
列出操作。
Sourcepub async fn list_with_config(
&self,
config: ListOperationsConfig,
) -> Result<ListOperationsResponse>
pub async fn list_with_config( &self, config: ListOperationsConfig, ) -> Result<ListOperationsResponse>
列出操作(带配置)。
Sourcepub async fn all_with_config(
&self,
config: ListOperationsConfig,
) -> Result<Vec<Operation>>
pub async fn all_with_config( &self, config: ListOperationsConfig, ) -> Result<Vec<Operation>>
列出所有操作(带配置,自动翻页)。
Trait Implementations§
Source§impl Clone for Operations
impl Clone for Operations
Source§fn clone(&self) -> Operations
fn clone(&self) -> Operations
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Operations
impl !RefUnwindSafe for Operations
impl Send for Operations
impl Sync for Operations
impl Unpin for Operations
impl !UnwindSafe for Operations
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