pub struct ProjectsClient<'a> { /* private fields */ }Implementations§
Source§impl ProjectsClient<'_>
impl ProjectsClient<'_>
Sourcepub async fn list(&self) -> Result<ProjectList>
pub async fn list(&self) -> Result<ProjectList>
List all projects in the organization.
§Returns
A ProjectList containing a count and value vector of
ProjectReference objects.
Source§impl ProjectsClient<'_>
impl ProjectsClient<'_>
Sourcepub async fn list_with_options(
&self,
options: &ListProjectsOptions,
) -> Result<ProjectList>
pub async fn list_with_options( &self, options: &ListProjectsOptions, ) -> Result<ProjectList>
List projects with filtering, pagination, and continuation support.
§Arguments
options—ListProjectsOptionswith optionalstate_filter,top,skip, andcontinuation_tokenfields.
§Returns
A filtered and paginated ProjectList.
Source§impl ProjectsClient<'_>
impl ProjectsClient<'_>
Source§impl ProjectsClient<'_>
impl ProjectsClient<'_>
Sourcepub async fn get_with_options(
&self,
project_id: &str,
options: &GetProjectOptions,
) -> Result<Project>
pub async fn get_with_options( &self, project_id: &str, options: &GetProjectOptions, ) -> Result<Project>
Get a single project with additional metadata options.
§Arguments
project_id— The project’s UUID or unique name.options—GetProjectOptionscontrolling which extra data to include (capabilities, history).
§Returns
The full Project object with requested metadata.
Trait Implementations§
Source§impl<'a> Clone for ProjectsClient<'a>
impl<'a> Clone for ProjectsClient<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ProjectsClient<'a>
impl<'a> !UnwindSafe for ProjectsClient<'a>
impl<'a> Freeze for ProjectsClient<'a>
impl<'a> Send for ProjectsClient<'a>
impl<'a> Sync for ProjectsClient<'a>
impl<'a> Unpin for ProjectsClient<'a>
impl<'a> UnsafeUnpin for ProjectsClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more