pub struct FrozenInternalAgentDefinition {
pub kind: InternalAgentKind,
pub agent: AgentId,
pub description: String,
pub document_source: AgentDocumentSource,
pub document_fingerprint: Sha256Digest,
pub composed_prompt: String,
pub prompt_fingerprint: Sha256Digest,
pub enabled: bool,
pub max_output_tokens: u64,
pub timeout_ms: u64,
pub fallbacks: Vec<FrozenInternalAgentFallback>,
}Fields§
§kind: InternalAgentKind§agent: AgentId§description: String§document_source: AgentDocumentSource§document_fingerprint: Sha256Digest§composed_prompt: String§prompt_fingerprint: Sha256Digest§enabled: bool§max_output_tokens: u64§timeout_ms: u64§fallbacks: Vec<FrozenInternalAgentFallback>Implementations§
Trait Implementations§
Source§impl Clone for FrozenInternalAgentDefinition
impl Clone for FrozenInternalAgentDefinition
Source§fn clone(&self) -> FrozenInternalAgentDefinition
fn clone(&self) -> FrozenInternalAgentDefinition
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<'de> Deserialize<'de> for FrozenInternalAgentDefinition
impl<'de> Deserialize<'de> for FrozenInternalAgentDefinition
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
Source§impl JsonSchema for FrozenInternalAgentDefinition
impl JsonSchema for FrozenInternalAgentDefinition
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 moreSource§impl PartialEq for FrozenInternalAgentDefinition
impl PartialEq for FrozenInternalAgentDefinition
Source§fn eq(&self, other: &FrozenInternalAgentDefinition) -> bool
fn eq(&self, other: &FrozenInternalAgentDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrozenInternalAgentDefinition
Auto Trait Implementations§
impl Freeze for FrozenInternalAgentDefinition
impl RefUnwindSafe for FrozenInternalAgentDefinition
impl Send for FrozenInternalAgentDefinition
impl Sync for FrozenInternalAgentDefinition
impl Unpin for FrozenInternalAgentDefinition
impl UnsafeUnpin for FrozenInternalAgentDefinition
impl UnwindSafe for FrozenInternalAgentDefinition
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