pub struct GitspacesApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> GitspacesApi<'a>
impl<'a> GitspacesApi<'a>
Sourcepub async fn get(&self, identifier: &str) -> Result<Gitspace>
pub async fn get(&self, identifier: &str) -> Result<Gitspace>
GET /api/v1/gitspaces/{gitspace_identifier}
Sourcepub async fn create(&self, input: &CreateGitspace) -> Result<Gitspace>
pub async fn create(&self, input: &CreateGitspace) -> Result<Gitspace>
POST /api/v1/gitspaces
Sourcepub async fn delete(&self, identifier: &str) -> Result<()>
pub async fn delete(&self, identifier: &str) -> Result<()>
DELETE /api/v1/gitspaces/{gitspace_identifier}
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GitspacesApi<'a>
impl<'a> !UnwindSafe for GitspacesApi<'a>
impl<'a> Forget for GitspacesApi<'a>
impl<'a> Freeze for GitspacesApi<'a>
impl<'a> Send for GitspacesApi<'a>
impl<'a> Sync for GitspacesApi<'a>
impl<'a> Unpin for GitspacesApi<'a>
impl<'a> UnsafeUnpin for GitspacesApi<'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