pub struct ScenariosClient { /* private fields */ }Implementations§
Source§impl ScenariosClient
impl ScenariosClient
pub async fn create( &self, request: CreateScenarioRequest, options: Option<&RequestOptions>, ) -> Result<CreateScenarioResponse, Error>
pub async fn list( &self, options: Option<&RequestOptions>, ) -> Result<ListScenariosResponse, Error>
pub async fn get( &self, id: &str, options: Option<&RequestOptions>, ) -> Result<GetScenarioResponse, Error>
pub async fn update( &self, id: &str, request: UpdateScenarioRequest, options: Option<&RequestOptions>, ) -> Result<UpdateScenarioResponse, Error>
pub async fn verify( &self, id: &str, request: VerifyScenarioRequest, options: Option<&RequestOptions>, ) -> Result<VerifyScenarioResponse, Error>
Trait Implementations§
Source§impl Clone for ScenariosClient
impl Clone for ScenariosClient
Source§fn clone(&self) -> ScenariosClient
fn clone(&self) -> ScenariosClient
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 ScenariosClient
impl !RefUnwindSafe for ScenariosClient
impl Send for ScenariosClient
impl Sync for ScenariosClient
impl Unpin for ScenariosClient
impl UnsafeUnpin for ScenariosClient
impl !UnwindSafe for ScenariosClient
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