pub struct TreeImportResult {
pub imported_count: usize,
pub skipped_count: usize,
pub uuid_mapping: HashMap<Uuid, Uuid>,
pub spec_id_mapping: HashMap<String, String>,
pub unresolved_refs: Vec<ExternalRelRef>,
}Expand description
Result of an import operation
Fields§
§imported_count: usizeNumber of requirements successfully imported
skipped_count: usizeNumber of requirements skipped (due to conflicts)
uuid_mapping: HashMap<Uuid, Uuid>Mapping from old UUIDs to new UUIDs
spec_id_mapping: HashMap<String, String>Mapping from old SPEC-IDs to new SPEC-IDs
unresolved_refs: Vec<ExternalRelRef>External relationships that couldn’t be resolved
Trait Implementations§
Source§impl Clone for TreeImportResult
impl Clone for TreeImportResult
Source§fn clone(&self) -> TreeImportResult
fn clone(&self) -> TreeImportResult
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 moreSource§impl Debug for TreeImportResult
impl Debug for TreeImportResult
Source§impl Default for TreeImportResult
impl Default for TreeImportResult
Source§fn default() -> TreeImportResult
fn default() -> TreeImportResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TreeImportResult
impl RefUnwindSafe for TreeImportResult
impl Send for TreeImportResult
impl Sync for TreeImportResult
impl Unpin for TreeImportResult
impl UnsafeUnpin for TreeImportResult
impl UnwindSafe for TreeImportResult
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