pub struct VendorMatch<'a> {
pub export: &'a VendorExport,
pub key_prefix: Option<&'a str>,
pub code_flag_names: &'a FxHashSet<String>,
pub project_sdk_labels: &'a FxHashSet<String>,
pub add_vendor_only: bool,
pub clock_epoch_secs: u64,
}Expand description
Inputs to match an export with the rows of the report.
Fields§
§export: &'a VendorExportThe export.
key_prefix: Option<&'a str>flags.vendorKeyPrefix: removed from each vendor key before the
match.
code_flag_names: &'a FxHashSet<String>Every flag name in the project, also outside the scope of the run.
project_sdk_labels: &'a FxHashSet<String>The SDK label of every SDK site in the project, also outside the scope of the run.
add_vendor_only: boolWhether to add vendor-only rows. A run narrowed to part of the
project cannot tell that no code reads a key, so it adds none.
clock_epoch_secs: u64The analysis clock, in unix seconds.
Auto Trait Implementations§
impl<'a> Freeze for VendorMatch<'a>
impl<'a> RefUnwindSafe for VendorMatch<'a>
impl<'a> Send for VendorMatch<'a>
impl<'a> Sync for VendorMatch<'a>
impl<'a> Unpin for VendorMatch<'a>
impl<'a> UnsafeUnpin for VendorMatch<'a>
impl<'a> UnwindSafe for VendorMatch<'a>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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