ProjectApi

Trait ProjectApi 

Source
pub trait ProjectApi {
    // Required methods
    fn list_projects(
        &self,
        request: ListProjectRequest,
        auth: AuthType,
    ) -> impl Future<Output = ApiResult<ListProjectResponse>> + Send;
    fn get_projects_detail(
        &self,
        request: GetProjectDetailRequest,
        auth: AuthType,
    ) -> impl Future<Output = ApiResult<GetProjectDetailResponse>> + Send;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§