use super::super::models::ProjectList;
use super::super::ProjectsClient;
use crate::constants::ApiPath;
use crate::error::Result;
impl ProjectsClient<'_> {
pub async fn list(&self) -> Result<ProjectList> {
self.http.get(&ApiPath::projects(), &[]).await
}
}