pub struct TuiApi { /* private fields */ }Expand description
TUI endpoint namespace.
Implementations§
Source§impl TuiApi
impl TuiApi
pub async fn append_prompt( &self, options: RequestOptions, ) -> Result<ApiResponse>
pub async fn clear_prompt(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn execute_command( &self, options: RequestOptions, ) -> Result<ApiResponse>
pub async fn open_help(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn open_models(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn open_sessions( &self, options: RequestOptions, ) -> Result<ApiResponse>
pub async fn open_themes(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn publish(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn select_session( &self, options: RequestOptions, ) -> Result<ApiResponse>
pub async fn show_toast(&self, options: RequestOptions) -> Result<ApiResponse>
pub async fn submit_prompt( &self, options: RequestOptions, ) -> Result<ApiResponse>
pub fn control(&self) -> TuiControlApi
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TuiApi
impl !RefUnwindSafe for TuiApi
impl Send for TuiApi
impl Sync for TuiApi
impl Unpin for TuiApi
impl UnsafeUnpin for TuiApi
impl !UnwindSafe for TuiApi
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