pub struct AiStudioManager { /* private fields */ }Expand description
Operations for the “ai_studio” API area.
Implementations§
Source§impl AiStudioManager
impl AiStudioManager
Sourcepub fn list_ai_agents(
&self,
opts: Option<AiStudioListAiAgentsOptions>,
) -> AiStudioListAiAgentsPaginator
pub fn list_ai_agents( &self, opts: Option<AiStudioListAiAgentsOptions>, ) -> AiStudioListAiAgentsPaginator
Iterate every crate::models::schemas::AiSingleAgentResponseFull across pages, threading the cursor.
pub async fn create_ai_agents( &self, body: CreateAiAgent, ) -> Result<AiSingleAgentResponseFull, Error>
pub async fn get_ai_agent( &self, agent_id: String, opts: Option<AiStudioGetAiAgentOptions>, ) -> Result<AiSingleAgentResponseFull, Error>
pub async fn update_ai_agent( &self, agent_id: String, body: CreateAiAgent, ) -> Result<AiSingleAgentResponseFull, Error>
pub async fn delete_ai_agent(&self, agent_id: String) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for AiStudioManager
impl !UnwindSafe for AiStudioManager
impl Freeze for AiStudioManager
impl Send for AiStudioManager
impl Sync for AiStudioManager
impl Unpin for AiStudioManager
impl UnsafeUnpin for AiStudioManager
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