pub struct EvalDeclaration {
pub id: LocalEvalId,
pub title: String,
pub gate: Option<Gate>,
/* private fields */
}Fields§
§id: LocalEvalId§title: String§gate: Option<Gate>Implementations§
Source§impl EvalDeclaration
impl EvalDeclaration
pub fn profile(&self) -> &Profile
pub fn payload(&self) -> Option<&EvalPayload>
pub fn profile_variants(&self) -> &BTreeMap<ProfileVariantName, Profile>
pub fn pass_schema(&self) -> Option<&Map<String, Value>>
pub fn fail_schema(&self) -> Option<&Map<String, Value>>
Trait Implementations§
Source§impl Clone for EvalDeclaration
impl Clone for EvalDeclaration
Source§impl Debug for EvalDeclaration
impl Debug for EvalDeclaration
Auto Trait Implementations§
impl Freeze for EvalDeclaration
impl RefUnwindSafe for EvalDeclaration
impl Send for EvalDeclaration
impl Sync for EvalDeclaration
impl Unpin for EvalDeclaration
impl UnsafeUnpin for EvalDeclaration
impl UnwindSafe for EvalDeclaration
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,
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> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.