Skip to main content

QueryCliParams

Struct QueryCliParams 

Source
pub struct QueryCliParams<'a> {
Show 33 fields pub contract_dir: &'a Path, pub query_str: &'a str, pub regex: bool, pub literal: bool, pub case_sensitive: bool, pub limit: usize, pub obligation: Option<&'a str>, pub min_score: Option<f64>, pub min_level: Option<String>, pub depends_on: Option<&'a str>, pub depended_by: Option<&'a str>, pub unproven: bool, pub show_score: bool, pub show_graph: bool, pub show_paper: bool, pub show_proof_status: bool, pub show_binding: bool, pub binding_gaps: bool, pub binding: Option<&'a Path>, pub show_diff: bool, pub show_pagerank: bool, pub show_call_sites: bool, pub show_violations: bool, pub show_coverage_map: bool, pub project_filter: Option<&'a str>, pub include_project: Option<&'a Path>, pub tier: Option<u8>, pub class: Option<char>, pub kind: Option<&'a str>, pub all_projects: bool, pub rebuild_index: bool, pub format: &'a str, pub exit_code: bool,
}
Expand description

All parameters needed to execute a query from the CLI.

Fields§

§contract_dir: &'a Path§query_str: &'a str§regex: bool§literal: bool§case_sensitive: bool§limit: usize§obligation: Option<&'a str>§min_score: Option<f64>§min_level: Option<String>§depends_on: Option<&'a str>§depended_by: Option<&'a str>§unproven: bool§show_score: bool§show_graph: bool§show_paper: bool§show_proof_status: bool§show_binding: bool§binding_gaps: bool§binding: Option<&'a Path>§show_diff: bool§show_pagerank: bool§show_call_sites: bool§show_violations: bool§show_coverage_map: bool§project_filter: Option<&'a str>§include_project: Option<&'a Path>§tier: Option<u8>§class: Option<char>§kind: Option<&'a str>§all_projects: bool§rebuild_index: bool§format: &'a str§exit_code: bool

Auto Trait Implementations§

§

impl<'a> Freeze for QueryCliParams<'a>

§

impl<'a> RefUnwindSafe for QueryCliParams<'a>

§

impl<'a> Send for QueryCliParams<'a>

§

impl<'a> Sync for QueryCliParams<'a>

§

impl<'a> Unpin for QueryCliParams<'a>

§

impl<'a> UnsafeUnpin for QueryCliParams<'a>

§

impl<'a> UnwindSafe for QueryCliParams<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.