pub struct AgentCreateRequest {Show 20 fields
pub name: String,
pub port: u16,
pub display_name: String,
pub description: String,
pub system_prompt: String,
pub enabled: bool,
pub endpoint: Option<String>,
pub dev_only: bool,
pub is_primary: bool,
pub default: bool,
pub version: Option<String>,
pub icon_url: Option<String>,
pub documentation_url: Option<String>,
pub streaming: Option<bool>,
pub push_notifications: Option<bool>,
pub state_transition_history: Option<bool>,
pub provider: Option<String>,
pub model: Option<String>,
pub mcp_servers: Vec<String>,
pub skills: Vec<String>,
}Fields§
§name: String§port: u16§display_name: String§description: String§system_prompt: String§enabled: bool§endpoint: Option<String>§dev_only: bool§is_primary: bool§default: bool§version: Option<String>§icon_url: Option<String>§documentation_url: Option<String>§streaming: Option<bool>§push_notifications: Option<bool>§state_transition_history: Option<bool>§provider: Option<String>§model: Option<String>§mcp_servers: Vec<String>§skills: Vec<String>Trait Implementations§
Source§impl Clone for AgentCreateRequest
impl Clone for AgentCreateRequest
Source§fn clone(&self) -> AgentCreateRequest
fn clone(&self) -> AgentCreateRequest
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 AgentCreateRequest
impl Debug for AgentCreateRequest
Source§impl Default for AgentCreateRequest
impl Default for AgentCreateRequest
Source§fn default() -> AgentCreateRequest
fn default() -> AgentCreateRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentCreateRequest
impl RefUnwindSafe for AgentCreateRequest
impl Send for AgentCreateRequest
impl Sync for AgentCreateRequest
impl Unpin for AgentCreateRequest
impl UnsafeUnpin for AgentCreateRequest
impl UnwindSafe for AgentCreateRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more