pub struct LookupReport(pub AuditReport);Tuple Fields§
§0: AuditReportImplementations§
Source§impl LookupReport
impl LookupReport
Sourcepub fn from_dep_spec(
client: Arc<dyn UreqClient>,
ds: &DepSpec,
limit: Option<usize>,
cache_config: &CacheConfig,
cache_refresh: FlagCacheRefresh,
log: FlagLog,
filter_cvss: CvssFilter,
retain_passing: FlagRetainPassing,
) -> ResultDynError<Self>
pub fn from_dep_spec( client: Arc<dyn UreqClient>, ds: &DepSpec, limit: Option<usize>, cache_config: &CacheConfig, cache_refresh: FlagCacheRefresh, log: FlagLog, filter_cvss: CvssFilter, retain_passing: FlagRetainPassing, ) -> ResultDynError<Self>
Get a LookupReport from a single DepSpec.
Sourcepub fn from_dep_manifest(
client: Arc<dyn UreqClient>,
dep_manifest: &DepManifest,
env_marker_state: Option<&EnvMarkerState>,
cache_config: &CacheConfig,
cache_refresh: FlagCacheRefresh,
log: FlagLog,
filter_cvss: CvssFilter,
retain_passing: FlagRetainPassing,
) -> ResultDynError<Self>
pub fn from_dep_manifest( client: Arc<dyn UreqClient>, dep_manifest: &DepManifest, env_marker_state: Option<&EnvMarkerState>, cache_config: &CacheConfig, cache_refresh: FlagCacheRefresh, log: FlagLog, filter_cvss: CvssFilter, retain_passing: FlagRetainPassing, ) -> ResultDynError<Self>
Get a LookupReport from a single DepManifest.
Methods from Deref<Target = AuditReport>§
Trait Implementations§
Source§impl Debug for LookupReport
impl Debug for LookupReport
Source§impl Deref for LookupReport
impl Deref for LookupReport
Auto Trait Implementations§
impl Freeze for LookupReport
impl RefUnwindSafe for LookupReport
impl Send for LookupReport
impl Sync for LookupReport
impl Unpin for LookupReport
impl UnsafeUnpin for LookupReport
impl UnwindSafe for LookupReport
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more