pub struct AgentOptionsResponse {
pub channels: Vec<String>,
pub channel_types: Vec<String>,
pub model_providers: Vec<String>,
pub risk_profiles: Vec<String>,
pub runtime_profiles: Vec<String>,
pub skill_bundles: Vec<String>,
pub knowledge_bundles: Vec<String>,
pub mcp_bundles: Vec<String>,
pub agents: Vec<String>,
}Expand description
All alias-reference choices an agent form needs, in one round-trip.
Channels and model model_providers are returned in dotted form
(telegram.default, anthropic.work); the bundle/profile/namespace
lists are bare HashMap keys.
Fields§
§channels: Vec<String>§channel_types: Vec<String>Distinct channel types with at least one configured alias —
["discord", "telegram"]. Source for peer-group channel picker.
model_providers: Vec<String>§risk_profiles: Vec<String>§runtime_profiles: Vec<String>§skill_bundles: Vec<String>§knowledge_bundles: Vec<String>§mcp_bundles: Vec<String>§agents: Vec<String>Trait Implementations§
Source§impl Debug for AgentOptionsResponse
impl Debug for AgentOptionsResponse
Source§impl JsonSchema for AgentOptionsResponse
impl JsonSchema for AgentOptionsResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for AgentOptionsResponse
impl RefUnwindSafe for AgentOptionsResponse
impl Send for AgentOptionsResponse
impl Sync for AgentOptionsResponse
impl Unpin for AgentOptionsResponse
impl UnsafeUnpin for AgentOptionsResponse
impl UnwindSafe for AgentOptionsResponse
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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