pub struct SchemaValidation {
pub valid: bool,
pub injection_found: bool,
pub indicators: Vec<InjectionIndicator>,
}Expand description
Outcome of scanning a tool schema (description / parameter docs) for injection.
Fields§
§valid: bool§injection_found: bool§indicators: Vec<InjectionIndicator>Trait Implementations§
Source§impl Clone for SchemaValidation
impl Clone for SchemaValidation
Source§fn clone(&self) -> SchemaValidation
fn clone(&self) -> SchemaValidation
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 SchemaValidation
impl RefUnwindSafe for SchemaValidation
impl Send for SchemaValidation
impl Sync for SchemaValidation
impl Unpin for SchemaValidation
impl UnsafeUnpin for SchemaValidation
impl UnwindSafe for SchemaValidation
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