Trait hvcg_example_openapi_entity::ApiNoContext [−][src]
pub trait ApiNoContext<C: Send + Sync> {}Show methods
fn poll_ready(
&self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Box<dyn Error + Send + Sync + 'static>>>; fn context(&self) -> &C; #[must_use] fn add_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_pet<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
api_key: Option<String>
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn find_pets_by_status<'life0, 'life1, 'async_trait>(
&'life0 self,
status: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn find_pets_by_tags<'life0, 'life1, 'async_trait>(
&'life0 self,
tags: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn get_pet_by_id<'life0, 'async_trait>(
&'life0 self,
pet_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn update_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn update_pet_with_form<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn upload_file<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_order<'life0, 'async_trait>(
&'life0 self,
order_id: String
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn get_inventory<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn get_order_by_id<'life0, 'async_trait>(
&'life0 self,
order_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn place_order<'life0, 'async_trait>(
&'life0 self,
order: Order
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn create_user<'life0, 'async_trait>(
&'life0 self,
user: User
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn create_users_with_array_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn create_users_with_list_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_user<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn get_user_by_name<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn login_user<'life0, 'async_trait>(
&'life0 self,
username: String,
password: String
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn logout_user<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn update_user<'life0, 'async_trait>(
&'life0 self,
username: String,
user: User
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
Expand description
API where Context
isn’t passed on every API call
Required methods
fn poll_ready(
&self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Box<dyn Error + Send + Sync + 'static>>>
[src]
&self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Box<dyn Error + Send + Sync + 'static>>>
fn context(&self) -> &C
[src]
#[must_use]fn add_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Add a new pet to the store
#[must_use]fn delete_pet<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
api_key: Option<String>
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
pet_id: i64,
api_key: Option<String>
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Deletes a pet
#[must_use]fn find_pets_by_status<'life0, 'life1, 'async_trait>(
&'life0 self,
status: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
status: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Finds Pets by status
#[must_use]fn find_pets_by_tags<'life0, 'life1, 'async_trait>(
&'life0 self,
tags: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tags: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Finds Pets by tags
#[must_use]fn get_pet_by_id<'life0, 'async_trait>(
&'life0 self,
pet_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
pet_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Find pet by ID
#[must_use]fn update_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Update an existing pet
#[must_use]fn update_pet_with_form<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Updates a pet in the store with form data
#[must_use]fn upload_file<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
uploads an image
#[must_use]fn delete_order<'life0, 'async_trait>(
&'life0 self,
order_id: String
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
order_id: String
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Delete purchase order by ID
#[must_use]fn get_inventory<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Returns pet inventories by status
#[must_use]fn get_order_by_id<'life0, 'async_trait>(
&'life0 self,
order_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
order_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Find purchase order by ID
#[must_use]fn place_order<'life0, 'async_trait>(
&'life0 self,
order: Order
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
order: Order
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Place an order for a pet
#[must_use]fn create_user<'life0, 'async_trait>(
&'life0 self,
user: User
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
user: User
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Create user
#[must_use]fn create_users_with_array_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Creates list of users with given input array
#[must_use]fn create_users_with_list_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Creates list of users with given input array
#[must_use]fn delete_user<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Delete user
#[must_use]fn get_user_by_name<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Get user by user name
#[must_use]fn login_user<'life0, 'async_trait>(
&'life0 self,
username: String,
password: String
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
username: String,
password: String
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Logs user into the system
#[must_use]fn logout_user<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Logs out current logged in user session
#[must_use]fn update_user<'life0, 'async_trait>(
&'life0 self,
username: String,
user: User
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
username: String,
user: User
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Expand description
Updated user
Implementations on Foreign Types
impl<T: Api<C> + Send + Sync, C: Clone + Send + Sync> ApiNoContext<C> for ContextWrapper<T, C>
[src]
impl<T: Api<C> + Send + Sync, C: Clone + Send + Sync> ApiNoContext<C> for ContextWrapper<T, C>
[src]fn add_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn add_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Add a new pet to the store
fn delete_pet<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
api_key: Option<String>
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_pet<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
api_key: Option<String>
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Deletes a pet
fn find_pets_by_status<'life0, 'life1, 'async_trait>(
&'life0 self,
status: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn find_pets_by_status<'life0, 'life1, 'async_trait>(
&'life0 self,
status: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Finds Pets by status
fn find_pets_by_tags<'life0, 'life1, 'async_trait>(
&'life0 self,
tags: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn find_pets_by_tags<'life0, 'life1, 'async_trait>(
&'life0 self,
tags: &'life1 Vec<String>
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Finds Pets by tags
fn get_pet_by_id<'life0, 'async_trait>(
&'life0 self,
pet_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn get_pet_by_id<'life0, 'async_trait>(
&'life0 self,
pet_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Find pet by ID
fn update_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn update_pet<'life0, 'async_trait>(
&'life0 self,
pet: Pet
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Update an existing pet
fn update_pet_with_form<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn update_pet_with_form<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Updates a pet in the store with form data
fn upload_file<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn upload_file<'life0, 'async_trait>(
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]uploads an image
fn delete_order<'life0, 'async_trait>(
&'life0 self,
order_id: String
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_order<'life0, 'async_trait>(
&'life0 self,
order_id: String
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete purchase order by ID
fn get_inventory<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn get_inventory<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Returns pet inventories by status
fn get_order_by_id<'life0, 'async_trait>(
&'life0 self,
order_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn get_order_by_id<'life0, 'async_trait>(
&'life0 self,
order_id: i64
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Find purchase order by ID
fn place_order<'life0, 'async_trait>(
&'life0 self,
order: Order
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn place_order<'life0, 'async_trait>(
&'life0 self,
order: Order
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Place an order for a pet
fn create_user<'life0, 'async_trait>(
&'life0 self,
user: User
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn create_user<'life0, 'async_trait>(
&'life0 self,
user: User
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Create user
fn create_users_with_array_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn create_users_with_array_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Creates list of users with given input array
fn create_users_with_list_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
fn create_users_with_list_input<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]Creates list of users with given input array
fn delete_user<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn delete_user<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete user
fn get_user_by_name<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn get_user_by_name<'life0, 'async_trait>(
&'life0 self,
username: String
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Get user by user name
fn login_user<'life0, 'async_trait>(
&'life0 self,
username: String,
password: String
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn login_user<'life0, 'async_trait>(
&'life0 self,
username: String,
password: String
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Logs user into the system
fn logout_user<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn logout_user<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Logs out current logged in user session