pub struct AgentCreateResponse {
pub id: String,
pub name: String,
pub description: Option<String>,
pub created_at: Option<u64>,
pub model: Option<String>,
}Expand description
Response from creating a new agent
Fields§
§id: StringThe created agent ID
name: StringAgent name
description: Option<String>Agent description
created_at: Option<u64>Creation timestamp
model: Option<String>Agent model
Trait Implementations§
Source§impl Clone for AgentCreateResponse
impl Clone for AgentCreateResponse
Source§fn clone(&self) -> AgentCreateResponse
fn clone(&self) -> AgentCreateResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentCreateResponse
impl Debug for AgentCreateResponse
Source§impl<'de> Deserialize<'de> for AgentCreateResponse
impl<'de> Deserialize<'de> for AgentCreateResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentCreateResponse
impl RefUnwindSafe for AgentCreateResponse
impl Send for AgentCreateResponse
impl Sync for AgentCreateResponse
impl Unpin for AgentCreateResponse
impl UnsafeUnpin for AgentCreateResponse
impl UnwindSafe for AgentCreateResponse
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