pub struct ReportContext<'a> {
pub inventory: InventoryContext<'a>,
pub baseline_debt_entries: Option<usize>,
pub policy_missing_evidence_entries: Option<usize>,
pub broken_evidence_links: Option<usize>,
pub weak_evidence_references: Option<usize>,
pub mode: Option<&'a str>,
pub enforcement: Option<&'a str>,
pub policy_config: Option<&'a str>,
pub tool_version: Option<&'a str>,
}Fields§
§inventory: InventoryContext<'a>§baseline_debt_entries: Option<usize>§policy_missing_evidence_entries: Option<usize>§broken_evidence_links: Option<usize>§weak_evidence_references: Option<usize>§mode: Option<&'a str>§enforcement: Option<&'a str>§policy_config: Option<&'a str>§tool_version: Option<&'a str>Implementations§
Trait Implementations§
Source§impl<'a> Clone for ReportContext<'a>
impl<'a> Clone for ReportContext<'a>
Source§fn clone(&self) -> ReportContext<'a>
fn clone(&self) -> ReportContext<'a>
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 moreimpl<'a> Copy for ReportContext<'a>
Source§impl<'a> Debug for ReportContext<'a>
impl<'a> Debug for ReportContext<'a>
Source§impl<'a> Default for ReportContext<'a>
impl<'a> Default for ReportContext<'a>
Source§fn default() -> ReportContext<'a>
fn default() -> ReportContext<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<ReportContext<'a>> for InventoryContext<'a>
impl<'a> From<ReportContext<'a>> for InventoryContext<'a>
Source§fn from(context: ReportContext<'a>) -> Self
fn from(context: ReportContext<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for ReportContext<'a>
impl<'a> RefUnwindSafe for ReportContext<'a>
impl<'a> Send for ReportContext<'a>
impl<'a> Sync for ReportContext<'a>
impl<'a> Unpin for ReportContext<'a>
impl<'a> UnsafeUnpin for ReportContext<'a>
impl<'a> UnwindSafe for ReportContext<'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