AgentTypesClient

Trait AgentTypesClient 

Source
pub trait AgentTypesClient {
    // Required methods
    fn get_all_agent_types<'life0, 'life1, 'async_trait>(
        &'life0 self,
        project_id: Option<&'life1 Uuid>,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RegisteredAgentType>, Error<AgentTypesError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get_agent_type<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        agent_type: &'life1 str,
        project_id: Option<&'life2 Uuid>,
    ) -> Pin<Box<dyn Future<Output = Result<RegisteredAgentType, Error<AgentTypesError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn get_all_agent_types<'life0, 'life1, 'async_trait>( &'life0 self, project_id: Option<&'life1 Uuid>, ) -> Pin<Box<dyn Future<Output = Result<Vec<RegisteredAgentType>, Error<AgentTypesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn get_agent_type<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, agent_type: &'life1 str, project_id: Option<&'life2 Uuid>, ) -> Pin<Box<dyn Future<Output = Result<RegisteredAgentType, Error<AgentTypesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§