pub trait TransformationsApi: Send + Sync {
// Required methods
fn delete_transformation<'uid, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteTransformationError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'uid: 'async_trait,
'life0: 'async_trait;
fn get_transformation<'uid, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
) -> Pin<Box<dyn Future<Output = Result<Transformation, Error<GetTransformationError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'uid: 'async_trait,
'life0: 'async_trait;
fn get_transformation_services<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error<GetTransformationServicesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_transformations<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TransformationDto>, Error<GetTransformationsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn put_transformation<'uid, 'transformation_dto, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
transformation_dto: TransformationDto,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTransformationError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'uid: 'async_trait,
'transformation_dto: 'async_trait,
'life0: 'async_trait;
}Available on crate feature
transformations_api only.Required Methods§
Sourcefn delete_transformation<'uid, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteTransformationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'uid: 'async_trait,
'life0: 'async_trait,
fn delete_transformation<'uid, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteTransformationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'uid: 'async_trait,
'life0: 'async_trait,
DELETE /transformations/{uid}
Sourcefn get_transformation<'uid, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
) -> Pin<Box<dyn Future<Output = Result<Transformation, Error<GetTransformationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'uid: 'async_trait,
'life0: 'async_trait,
fn get_transformation<'uid, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
) -> Pin<Box<dyn Future<Output = Result<Transformation, Error<GetTransformationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'uid: 'async_trait,
'life0: 'async_trait,
GET /transformations/{uid}
Sourcefn get_transformation_services<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error<GetTransformationServicesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_transformation_services<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error<GetTransformationServicesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /transformations/services
Sourcefn get_transformations<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TransformationDto>, Error<GetTransformationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_transformations<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TransformationDto>, Error<GetTransformationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /transformations
Sourcefn put_transformation<'uid, 'transformation_dto, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
transformation_dto: TransformationDto,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTransformationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'uid: 'async_trait,
'transformation_dto: 'async_trait,
'life0: 'async_trait,
fn put_transformation<'uid, 'transformation_dto, 'life0, 'async_trait>(
&'life0 self,
uid: &'uid str,
transformation_dto: TransformationDto,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTransformationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'uid: 'async_trait,
'transformation_dto: 'async_trait,
'life0: 'async_trait,
PUT /transformations/{uid}