pub trait Component {
    // Required methods
    fn get_components_of_id<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        template_id: &'life1 str,
        authorization: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Component>, GetComponentsOfIdError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn put_component<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        template_id: &'life1 str,
        template: Vec<u8>,
        authorization: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<Component, PutComponentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_components<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        project_id: &'life1 str,
        template_name: &'life2 str,
        authorization: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Component>, GetComponentsError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn post_component<'life0, 'life1, 'async_trait>(
        &'life0 self,
        field0: ComponentQuery,
        template: Vec<u8>,
        authorization: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Component, PostComponentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn download_component<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        template_id: &'life1 str,
        version: &'life2 str,
        authorization: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, DownloadComponentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn get_latest_component<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        template_id: &'life1 str,
        authorization: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<i32, GetLatestComponentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn get_components_of_id<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, template_id: &'life1 str, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Vec<Component>, GetComponentsOfIdError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn put_component<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, template_id: &'life1 str, template: Vec<u8>, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Component, PutComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn get_components<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, project_id: &'life1 str, template_name: &'life2 str, authorization: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<Vec<Component>, GetComponentsError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

source

fn post_component<'life0, 'life1, 'async_trait>( &'life0 self, field0: ComponentQuery, template: Vec<u8>, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Component, PostComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn download_component<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, template_id: &'life1 str, version: &'life2 str, authorization: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, DownloadComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

source

fn get_latest_component<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, template_id: &'life1 str, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<i32, GetLatestComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§