pub struct HttpApi { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Api for HttpApi
impl Api for HttpApi
fn login<'life0, 'async_trait>(
&'life0 self,
request: LoginRequest,
) -> Pin<Box<dyn Future<Output = Result<LoginResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_project<'life0, 'async_trait>(
&'life0 self,
request: CreateProjectRequest,
token: String,
) -> Pin<Box<dyn Future<Output = Result<CreateProjectResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_task_version<'life0, 'async_trait>(
&'life0 self,
request: CreateTaskVersionRequest,
token: String,
) -> Pin<Box<dyn Future<Output = Result<CreateTaskVersionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for HttpApi
impl !RefUnwindSafe for HttpApi
impl Send for HttpApi
impl Sync for HttpApi
impl Unpin for HttpApi
impl !UnwindSafe for HttpApi
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