pub struct CustomAgentsUpdatedAgent {
pub description: String,
pub display_name: String,
pub id: String,
pub model: Option<String>,
pub name: String,
pub source: String,
pub tools: Vec<String>,
pub user_invocable: bool,
}Fields§
§description: StringDescription of what the agent does
display_name: StringHuman-readable display name
id: StringUnique identifier for the agent
model: Option<String>Model override for this agent, if set
name: StringInternal name of the agent
source: StringSource location: user, project, inherited, remote, or plugin
tools: Vec<String>List of tool names available to this agent, or null when all tools are available
user_invocable: boolWhether the agent can be selected by the user
Trait Implementations§
Source§impl Clone for CustomAgentsUpdatedAgent
impl Clone for CustomAgentsUpdatedAgent
Source§fn clone(&self) -> CustomAgentsUpdatedAgent
fn clone(&self) -> CustomAgentsUpdatedAgent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CustomAgentsUpdatedAgent
impl Debug for CustomAgentsUpdatedAgent
Source§impl<'de> Deserialize<'de> for CustomAgentsUpdatedAgent
impl<'de> Deserialize<'de> for CustomAgentsUpdatedAgent
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 CustomAgentsUpdatedAgent
impl RefUnwindSafe for CustomAgentsUpdatedAgent
impl Send for CustomAgentsUpdatedAgent
impl Sync for CustomAgentsUpdatedAgent
impl Unpin for CustomAgentsUpdatedAgent
impl UnsafeUnpin for CustomAgentsUpdatedAgent
impl UnwindSafe for CustomAgentsUpdatedAgent
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