pub struct EvalDeclaration {
pub id: LocalEvalId,
pub title: String,
pub mutex: Vec<MutexTag>,
/* private fields */
}Fields§
§id: LocalEvalId§title: String§mutex: Vec<MutexTag>Implementations§
Source§impl EvalDeclaration
impl EvalDeclaration
pub fn profile(&self) -> &Profile
pub fn profile_name(&self) -> Option<&str>
pub fn payload(&self) -> Option<&EvalPayload>
pub fn instruction(&self) -> Option<&str>
pub fn slots(&self) -> &[InstructionSlot]
pub fn inputs(&self) -> &[ArtifactName]
pub fn red_at(&self) -> Option<Priority>
Trait Implementations§
Source§impl Clone for EvalDeclaration
impl Clone for EvalDeclaration
Source§impl Debug for EvalDeclaration
impl Debug for EvalDeclaration
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.
Auto Trait Implementations§
impl Forget for EvalDeclaration
impl Freeze for EvalDeclarationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<MutexTag>: Freeze,
PhantomData<Argument>: Freeze,
PhantomData<InstructionSlot>: Freeze,
PhantomData<ArtifactName>: Freeze,
impl Move for EvalDeclaration
impl RefUnwindSafe for EvalDeclaration
impl Send for EvalDeclarationwhere
RawVecInner: Send,
impl Sync for EvalDeclarationwhere
RawVecInner: Sync,
impl Unpin for EvalDeclaration
impl UnsafeUnpin for EvalDeclarationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MutexTag>: UnsafeUnpin,
PhantomData<Argument>: UnsafeUnpin,
PhantomData<InstructionSlot>: UnsafeUnpin,
PhantomData<ArtifactName>: UnsafeUnpin,
impl UnwindSafe for EvalDeclarationwhere
RawVecInner: 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> 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.