pub struct WorkspaceClient { /* private fields */ }
Expand description
Workspace API 客户端
Implementations§
Source§impl WorkspaceClient
impl WorkspaceClient
Sourcepub async fn post_repo_workspace_start(
&self,
repo: String,
request_data: Value,
) -> Result<Value>
pub async fn post_repo_workspace_start( &self, repo: String, request_data: Value, ) -> Result<Value>
启动云原生开发环境,已存在环境则直接打开,否则重新创建开发环境。Start cloud-native dev. Opens existing env or creates a new one.
Sourcepub async fn post_workspace_delete(&self, request_data: Value) -> Result<Value>
pub async fn post_workspace_delete(&self, request_data: Value) -> Result<Value>
删除我的云原生开发环境。Delete my workspace.
Auto Trait Implementations§
impl Freeze for WorkspaceClient
impl !RefUnwindSafe for WorkspaceClient
impl Send for WorkspaceClient
impl Sync for WorkspaceClient
impl Unpin for WorkspaceClient
impl !UnwindSafe for WorkspaceClient
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