pub struct Declaration {
pub mutex: Field<Vec<MutexTag>>,
pub id: Field<LocalEvalId>,
pub title: Field<String>,
pub profile: Field<Profile>,
pub profile_name: Field<String>,
pub profile_variants: Field<BTreeMap<String, Profile>>,
pub payload: Field<StoredPayload>,
pub inputs: Field<Vec<ArtifactName>>,
pub red_at: Field<Priority>,
pub pass_schema: Field<Map<String, Value>>,
pub fail_schema: Field<Map<String, Value>>,
pub extra: Map<String, Value>,
}Fields§
§mutex: Field<Vec<MutexTag>>§id: Field<LocalEvalId>§title: Field<String>§profile: Field<Profile>§profile_name: Field<String>The named profile it referred to; absent before 0.27.
profile_variants: Field<BTreeMap<String, Profile>>Variants saved before 0.27, read for history only.
payload: Field<StoredPayload>§inputs: Field<Vec<ArtifactName>>A runtime eval’s inputs; absent before 0.27.
red_at: Field<Priority>§pass_schema: Field<Map<String, Value>>Human result schemas saved before 0.27, read for history only.
fail_schema: Field<Map<String, Value>>§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for Declaration
impl Clone for Declaration
Source§impl Debug for Declaration
impl Debug for Declaration
Source§impl Default for Declaration
impl Default for Declaration
Source§impl<'de> Deserialize<'de> for Declaration
impl<'de> Deserialize<'de> for Declaration
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 From<&EvalDeclaration> for Declaration
impl From<&EvalDeclaration> for Declaration
Source§fn from(source: &EvalDeclaration) -> Self
fn from(source: &EvalDeclaration) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Declaration
impl PartialEq for Declaration
Source§impl Serialize for Declaration
impl Serialize for Declaration
impl StructuralPartialEq for Declaration
Auto Trait Implementations§
impl Forget for Declaration
impl Freeze for Declarationwhere
*const u8 is !null: Freeze,
PhantomData<MutexTag>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, Profile> is !null: Freeze,
PhantomData<Box<(String, Profile)>>: Freeze,
PhantomData<ArtifactName>: Freeze,
impl Move for Declaration
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnsafeUnpin for Declarationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<MutexTag>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, Profile> is !null: UnsafeUnpin,
PhantomData<Box<(String, Profile)>>: UnsafeUnpin,
PhantomData<ArtifactName>: UnsafeUnpin,
impl UnwindSafe for Declarationwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, Profile>: UnwindSafe,
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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.