pub struct MigrateReport<'a> {
pub inventory: InventoryContext<'a>,
pub input_kind: &'a str,
pub input_path: &'a str,
pub output_path: &'a str,
pub force: bool,
pub allow_entries: usize,
pub baseline_debt: usize,
pub unsafe_entries: usize,
pub entries_with_evidence: usize,
pub notes: &'a str,
}Fields§
§inventory: InventoryContext<'a>§input_kind: &'a str§input_path: &'a str§output_path: &'a str§force: bool§allow_entries: usize§baseline_debt: usize§unsafe_entries: usize§entries_with_evidence: usize§notes: &'a strImplementations§
Source§impl<'a> MigrateReport<'a>
impl<'a> MigrateReport<'a>
pub fn from_config( inventory: InventoryContext<'a>, cfg: &AllowConfig, input_kind: &'a str, input_path: &'a str, output_path: &'a str, force: bool, notes: &'a str, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for MigrateReport<'a>
impl<'a> Clone for MigrateReport<'a>
Source§fn clone(&self) -> MigrateReport<'a>
fn clone(&self) -> MigrateReport<'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 moreSource§impl<'a> Debug for MigrateReport<'a>
impl<'a> Debug for MigrateReport<'a>
impl<'a> Copy for MigrateReport<'a>
Auto Trait Implementations§
impl<'a> Freeze for MigrateReport<'a>
impl<'a> RefUnwindSafe for MigrateReport<'a>
impl<'a> Send for MigrateReport<'a>
impl<'a> Sync for MigrateReport<'a>
impl<'a> Unpin for MigrateReport<'a>
impl<'a> UnsafeUnpin for MigrateReport<'a>
impl<'a> UnwindSafe for MigrateReport<'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