pub struct ProgramSpec {
pub probes: HashMap<String, ProbeKind>,
pub metadata: CheckMetadata,
}Expand description
The non-executable part of a compiled program: the probe table and the
finding metadata. The instruction stream lives in BytecodeProgram.
Fields§
§probes: HashMap<String, ProbeKind>Probes keyed by their script name (e.g. home, redis).
metadata: CheckMetadataThe check’s finding metadata.
Trait Implementations§
Source§impl Clone for ProgramSpec
impl Clone for ProgramSpec
Source§fn clone(&self) -> ProgramSpec
fn clone(&self) -> ProgramSpec
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 ProgramSpec
impl RefUnwindSafe for ProgramSpec
impl Send for ProgramSpec
impl Sync for ProgramSpec
impl Unpin for ProgramSpec
impl UnsafeUnpin for ProgramSpec
impl UnwindSafe for ProgramSpec
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