pub struct AnalysisContext {
pub tenant_id: TenantId,
pub trace_id: Uuid,
pub span_id: Uuid,
pub provider: LLMProvider,
pub model_name: String,
pub parameters: HashMap<String, String>,
}Expand description
Analysis context for security analyzers.
Fields§
§tenant_id: TenantIdTenant ID for context.
trace_id: UuidTrace ID for context.
span_id: UuidSpan ID for context.
provider: LLMProviderLLM provider being used.
model_name: StringModel name.
parameters: HashMap<String, String>Custom analysis parameters.
Trait Implementations§
Source§impl Clone for AnalysisContext
impl Clone for AnalysisContext
Source§fn clone(&self) -> AnalysisContext
fn clone(&self) -> AnalysisContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnalysisContext
impl RefUnwindSafe for AnalysisContext
impl Send for AnalysisContext
impl Sync for AnalysisContext
impl Unpin for AnalysisContext
impl UnsafeUnpin for AnalysisContext
impl UnwindSafe for AnalysisContext
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