pub struct IngestOptions {
pub verbose: bool,
pub dry_run: bool,
pub force: bool,
pub process: bool,
pub backend: String,
pub pocketbase_url: Option<String>,
pub sqlite_path: Option<String>,
}Expand description
Options controlling a single ingest invocation.
Fields§
§verbose: bool§dry_run: bool§force: bool§process: boolRun the process pipeline over every VulnMalper JSON in the folder
and write a fresh PloitMalper report next to it before ingesting.
backend: StringBackend override: “auto” uses the persisted config.
pocketbase_url: Option<String>§sqlite_path: Option<String>Trait Implementations§
Source§impl Clone for IngestOptions
impl Clone for IngestOptions
Source§fn clone(&self) -> IngestOptions
fn clone(&self) -> IngestOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IngestOptions
impl Debug for IngestOptions
Auto Trait Implementations§
impl Freeze for IngestOptions
impl RefUnwindSafe for IngestOptions
impl Send for IngestOptions
impl Sync for IngestOptions
impl Unpin for IngestOptions
impl UnsafeUnpin for IngestOptions
impl UnwindSafe for IngestOptions
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