pub struct Context<'a> {
pub artifact: &'a ArtifactName,
pub type_name: &'a PluginName,
pub title: &'a str,
pub target: &'a Target,
pub target_kind: ArtifactKind,
pub review: Option<&'a RequestId>,
}Fields§
§artifact: &'a ArtifactName§type_name: &'a PluginName§title: &'a str§target: &'a Target§target_kind: ArtifactKind§review: Option<&'a RequestId>Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Context<'a>
impl<'a> Freeze for Context<'a>where
&'a ArtifactName: Freeze,
&'a PluginName: Freeze,
&'a str: Freeze,
&'a Target: Freeze,
&'a RequestId: Freeze,
impl<'a> Move for Context<'a>
impl<'a> RefUnwindSafe for Context<'a>
impl<'a> Send for Context<'a>where
&'a ArtifactName: Send,
&'a PluginName: Send,
&'a str: Send,
&'a Target: Send,
&'a RequestId: Send,
impl<'a> Sync for Context<'a>where
RawVecInner: Sync,
impl<'a> Unpin for Context<'a>where
&'a ArtifactName: Unpin,
&'a PluginName: Unpin,
&'a str: Unpin,
&'a Target: Unpin,
&'a RequestId: Unpin,
impl<'a> UnsafeUnpin for Context<'a>where
&'a ArtifactName: UnsafeUnpin,
&'a PluginName: UnsafeUnpin,
&'a str: UnsafeUnpin,
&'a Target: UnsafeUnpin,
&'a RequestId: UnsafeUnpin,
impl<'a> UnwindSafe for Context<'a>where
&'a ArtifactName: UnwindSafe,
&'a PluginName: UnwindSafe,
&'a str: UnwindSafe,
&'a Target: UnwindSafe,
&'a RequestId: 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
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.