Trait hvcg_example_openapi_entity::Api [−][src]
pub trait Api<C: Send + Sync> {}Show methods
#[must_use] fn add_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
api_key: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn find_pets_by_status<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
status: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; #[must_use] fn find_pets_by_tags<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tags: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; #[must_use] fn get_pet_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn update_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn update_pet_with_form<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn upload_file<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_order<'life0, 'life1, 'async_trait>(
&'life0 self,
order_id: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn get_inventory<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn get_order_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
order_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn place_order<'life0, 'life1, 'async_trait>(
&'life0 self,
order: Order,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn create_user<'life0, 'life1, 'async_trait>(
&'life0 self,
user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn create_users_with_array_input<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; #[must_use] fn create_users_with_list_input<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn get_user_by_name<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn login_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
password: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn logout_user<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; #[must_use] fn update_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; fn poll_ready(
&self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Box<dyn Error + Send + Sync + 'static>>> { ... }
Expand description
API
Required methods
#[must_use]fn add_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn add_pet<'life0, 'life1, 'async_trait>(&'life0 self,
pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Add a new pet to the store
#[must_use]fn delete_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
api_key: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn delete_pet<'life0, 'life1, 'async_trait>(&'life0 self,
pet_id: i64,
api_key: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Deletes a pet
#[must_use]fn find_pets_by_status<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
status: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn find_pets_by_status<'life0, 'life1, 'life2, 'async_trait>(&'life0 self,
status: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Expand description
Finds Pets by status
#[must_use]fn find_pets_by_tags<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tags: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn find_pets_by_tags<'life0, 'life1, 'life2, 'async_trait>(&'life0 self,
tags: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Expand description
Finds Pets by tags
#[must_use]fn get_pet_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn get_pet_by_id<'life0, 'life1, 'async_trait>(&'life0 self,
pet_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Find pet by ID
#[must_use]fn update_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn update_pet<'life0, 'life1, 'async_trait>(&'life0 self,
pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Update an existing pet
#[must_use]fn update_pet_with_form<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn update_pet_with_form<'life0, 'life1, 'async_trait>(&'life0 self,
pet_id: i64,
name: Option<String>,
status: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Updates a pet in the store with form data
#[must_use]fn upload_file<'life0, 'life1, 'async_trait>(
&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn upload_file<'life0, 'life1, 'async_trait>(&'life0 self,
pet_id: i64,
additional_metadata: Option<String>,
file: Option<ByteArray>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
uploads an image
#[must_use]fn delete_order<'life0, 'life1, 'async_trait>(
&'life0 self,
order_id: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn delete_order<'life0, 'life1, 'async_trait>(&'life0 self,
order_id: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Delete purchase order by ID
#[must_use]fn get_inventory<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn get_inventory<'life0, 'life1, 'async_trait>(&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Returns pet inventories by status
#[must_use]fn get_order_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
order_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn get_order_by_id<'life0, 'life1, 'async_trait>(&'life0 self,
order_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Find purchase order by ID
#[must_use]fn place_order<'life0, 'life1, 'async_trait>(
&'life0 self,
order: Order,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn place_order<'life0, 'life1, 'async_trait>(&'life0 self,
order: Order,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Place an order for a pet
#[must_use]fn create_user<'life0, 'life1, 'async_trait>(
&'life0 self,
user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn create_user<'life0, 'life1, 'async_trait>(&'life0 self,
user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Create user
#[must_use]fn create_users_with_array_input<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn create_users_with_array_input<'life0, 'life1, 'life2, 'async_trait>(&'life0 self,
user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: '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, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn create_users_with_list_input<'life0, 'life1, 'life2, 'async_trait>(&'life0 self,
user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Expand description
Creates list of users with given input array
#[must_use]fn delete_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn delete_user<'life0, 'life1, 'async_trait>(&'life0 self,
username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Delete user
#[must_use]fn get_user_by_name<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn get_user_by_name<'life0, 'life1, 'async_trait>(&'life0 self,
username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Get user by user name
#[must_use]fn login_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
password: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn login_user<'life0, 'life1, 'async_trait>(&'life0 self,
username: String,
password: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Logs user into the system
#[must_use]fn logout_user<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn logout_user<'life0, 'life1, 'async_trait>(&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Logs out current logged in user session
#[must_use]fn update_user<'life0, 'life1, 'async_trait>(
&'life0 self,
username: String,
user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn update_user<'life0, 'life1, 'async_trait>(&'life0 self,
username: String,
user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Expand description
Updated user
Provided 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>>>
Implementors
impl<S, C> Api<C> for Client<S, C> where
S: Service<(Request<Body>, C), Response = Response<Body>> + Clone + Sync + Send + 'static,
S::Future: Send + 'static,
S::Error: Into<Box<dyn Error + Send + Sync + 'static>> + Display,
C: Has<XSpanIdString> + Has<Option<AuthData>> + Clone + Send + Sync + 'static,
[src]
impl<S, C> Api<C> for Client<S, C> where
S: Service<(Request<Body>, C), Response = Response<Body>> + Clone + Sync + Send + 'static,
S::Future: Send + 'static,
S::Error: Into<Box<dyn Error + Send + Sync + 'static>> + Display,
C: Has<XSpanIdString> + Has<Option<AuthData>> + Clone + Send + Sync + 'static,
[src]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 add_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
param_pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<AddPetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn delete_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
param_pet_id: i64,
param_api_key: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_pet_id: i64,
param_api_key: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeletePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn find_pets_by_status<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
param_status: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_status: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByStatusResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn find_pets_by_tags<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
param_tags: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_tags: &'life1 Vec<String>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<FindPetsByTagsResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn get_pet_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
param_pet_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_pet_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetPetByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn update_pet<'life0, 'life1, 'async_trait>(
&'life0 self,
param_pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_pet: Pet,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn update_pet_with_form<'life0, 'life1, 'async_trait>(
&'life0 self,
param_pet_id: i64,
param_name: Option<String>,
param_status: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_pet_id: i64,
param_name: Option<String>,
param_status: Option<String>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdatePetWithFormResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn upload_file<'life0, 'life1, 'async_trait>(
&'life0 self,
param_pet_id: i64,
param_additional_metadata: Option<String>,
param_file: Option<ByteArray>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_pet_id: i64,
param_additional_metadata: Option<String>,
param_file: Option<ByteArray>,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UploadFileResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn delete_order<'life0, 'life1, 'async_trait>(
&'life0 self,
param_order_id: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_order_id: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_inventory<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetInventoryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_order_by_id<'life0, 'life1, 'async_trait>(
&'life0 self,
param_order_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_order_id: i64,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetOrderByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn place_order<'life0, 'life1, 'async_trait>(
&'life0 self,
param_order: Order,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_order: Order,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<PlaceOrderResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn create_user<'life0, 'life1, 'async_trait>(
&'life0 self,
param_user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn create_users_with_array_input<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
param_user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithArrayInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn create_users_with_list_input<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
param_user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_user: &'life1 Vec<User>,
context: &'life2 C
) -> Pin<Box<dyn Future<Output = Result<CreateUsersWithListInputResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn delete_user<'life0, 'life1, 'async_trait>(
&'life0 self,
param_username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_user_by_name<'life0, 'life1, 'async_trait>(
&'life0 self,
param_username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_username: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<GetUserByNameResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn login_user<'life0, 'life1, 'async_trait>(
&'life0 self,
param_username: String,
param_password: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_username: String,
param_password: String,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LoginUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn logout_user<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<LogoutUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn update_user<'life0, 'life1, 'async_trait>(
&'life0 self,
param_username: String,
param_user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
param_username: String,
param_user: User,
context: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,