Trait golem_cloud_client::api::ApiCertificateClient

source ·
pub trait ApiCertificateClient {
    // Required methods
    fn get<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project_id: &'life1 Uuid,
        certificate_id: Option<&'life2 Uuid>,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Certificate>, Error<ApiCertificateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn post<'life0, 'life1, 'async_trait>(
        &'life0 self,
        value: &'life1 CertificateRequest,
    ) -> Pin<Box<dyn Future<Output = Result<Certificate, Error<ApiCertificateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn delete<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project_id: &'life1 Uuid,
        certificate_id: &'life2 Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiCertificateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn get<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project_id: &'life1 Uuid, certificate_id: Option<&'life2 Uuid>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Certificate>, Error<ApiCertificateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn post<'life0, 'life1, 'async_trait>( &'life0 self, value: &'life1 CertificateRequest, ) -> Pin<Box<dyn Future<Output = Result<Certificate, Error<ApiCertificateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn delete<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project_id: &'life1 Uuid, certificate_id: &'life2 Uuid, ) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiCertificateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§