pub struct ImportResult {
pub imported: usize,
pub skipped: usize,
pub files: Vec<PathBuf>,
pub warnings: Vec<String>,
pub renumber_map: Vec<(u32, u32)>,
}Expand description
Result of an import operation.
Fields§
§imported: usizeNumber of ADRs successfully imported.
skipped: usizeNumber of ADRs skipped (already exist).
files: Vec<PathBuf>Paths of imported files.
warnings: Vec<String>Warnings encountered during import.
renumber_map: Vec<(u32, u32)>Mapping of old numbers to new numbers (when renumbering).
Trait Implementations§
Source§impl Clone for ImportResult
impl Clone for ImportResult
Source§fn clone(&self) -> ImportResult
fn clone(&self) -> ImportResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImportResult
impl RefUnwindSafe for ImportResult
impl Send for ImportResult
impl Sync for ImportResult
impl Unpin for ImportResult
impl UnwindSafe for ImportResult
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