pub struct ResponseValidation {
pub safe: bool,
pub injection_indicators: Vec<InjectionIndicator>,
pub exfiltration_indicators: Vec<ExfiltrationIndicator>,
}Expand description
Outcome of scanning a tool response for injected instructions or exfiltration.
Fields§
§safe: bool§injection_indicators: Vec<InjectionIndicator>§exfiltration_indicators: Vec<ExfiltrationIndicator>Trait Implementations§
Source§impl Clone for ResponseValidation
impl Clone for ResponseValidation
Source§fn clone(&self) -> ResponseValidation
fn clone(&self) -> ResponseValidation
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 ResponseValidation
impl RefUnwindSafe for ResponseValidation
impl Send for ResponseValidation
impl Sync for ResponseValidation
impl Unpin for ResponseValidation
impl UnsafeUnpin for ResponseValidation
impl UnwindSafe for ResponseValidation
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