pub struct SquadsApiClient { /* private fields */ }Implementations§
Source§impl SquadsApiClient
impl SquadsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl SquadsApi for SquadsApiClient
impl SquadsApi for SquadsApiClient
Source§fn squad_controller_create<'create_squad_dto, 'life0, 'async_trait>(
&'life0 self,
create_squad_dto: CreateSquadDto,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerCreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'create_squad_dto: 'async_trait,
'life0: 'async_trait,
fn squad_controller_create<'create_squad_dto, 'life0, 'async_trait>(
&'life0 self,
create_squad_dto: CreateSquadDto,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerCreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'create_squad_dto: 'async_trait,
'life0: 'async_trait,
POST /squad
Source§fn squad_controller_find_all<'limit, 'created_at_gt, 'created_at_lt, 'created_at_ge, 'created_at_le, 'updated_at_gt, 'updated_at_lt, 'updated_at_ge, 'updated_at_le, 'life0, 'async_trait>(
&'life0 self,
limit: Option<f64>,
created_at_gt: Option<String>,
created_at_lt: Option<String>,
created_at_ge: Option<String>,
created_at_le: Option<String>,
updated_at_gt: Option<String>,
updated_at_lt: Option<String>,
updated_at_ge: Option<String>,
updated_at_le: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Squad>, Error<SquadControllerFindAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'limit: 'async_trait,
'created_at_gt: 'async_trait,
'created_at_lt: 'async_trait,
'created_at_ge: 'async_trait,
'created_at_le: 'async_trait,
'updated_at_gt: 'async_trait,
'updated_at_lt: 'async_trait,
'updated_at_ge: 'async_trait,
'updated_at_le: 'async_trait,
'life0: 'async_trait,
fn squad_controller_find_all<'limit, 'created_at_gt, 'created_at_lt, 'created_at_ge, 'created_at_le, 'updated_at_gt, 'updated_at_lt, 'updated_at_ge, 'updated_at_le, 'life0, 'async_trait>(
&'life0 self,
limit: Option<f64>,
created_at_gt: Option<String>,
created_at_lt: Option<String>,
created_at_ge: Option<String>,
created_at_le: Option<String>,
updated_at_gt: Option<String>,
updated_at_lt: Option<String>,
updated_at_ge: Option<String>,
updated_at_le: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Squad>, Error<SquadControllerFindAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'limit: 'async_trait,
'created_at_gt: 'async_trait,
'created_at_lt: 'async_trait,
'created_at_ge: 'async_trait,
'created_at_le: 'async_trait,
'updated_at_gt: 'async_trait,
'updated_at_lt: 'async_trait,
'updated_at_ge: 'async_trait,
'updated_at_le: 'async_trait,
'life0: 'async_trait,
GET /squad
Source§fn squad_controller_find_one<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerFindOneError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
fn squad_controller_find_one<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerFindOneError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
GET /squad/{id}
Source§fn squad_controller_remove<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerRemoveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
fn squad_controller_remove<'id, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerRemoveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'life0: 'async_trait,
DELETE /squad/{id}
Source§fn squad_controller_update<'id, 'update_squad_dto, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
update_squad_dto: UpdateSquadDto,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerUpdateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'update_squad_dto: 'async_trait,
'life0: 'async_trait,
fn squad_controller_update<'id, 'update_squad_dto, 'life0, 'async_trait>(
&'life0 self,
id: &'id str,
update_squad_dto: UpdateSquadDto,
) -> Pin<Box<dyn Future<Output = Result<Squad, Error<SquadControllerUpdateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'id: 'async_trait,
'update_squad_dto: 'async_trait,
'life0: 'async_trait,
PATCH /squad/{id}
Auto Trait Implementations§
impl Freeze for SquadsApiClient
impl !RefUnwindSafe for SquadsApiClient
impl Send for SquadsApiClient
impl Sync for SquadsApiClient
impl Unpin for SquadsApiClient
impl !UnwindSafe for SquadsApiClient
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