pub struct Imported {
pub entities: usize,
pub added: usize,
pub replaced: usize,
pub skipped: usize,
pub files: usize,
pub types_left_out: Vec<TypeName>,
pub person: Option<Described>,
}Expand description
What an import brought in.
Fields§
§entities: usizeHow many entities it read, those left out aside: NibKeep’s own records, and the definitions of the types left out.
added: usizeHow many statements it added.
replaced: usizeHow many statements it replaced, as the export shows them replaced.
skipped: usizeHow many entities it left out: NibKeep’s own records of users, devices, replicas and spaces.
files: usizeHow many files it added.
types_left_out: Vec<TypeName>The types whose definitions it left out, as the space defines them otherwise, such as with a field of another kind.
person: Option<Described>The person of the export’s user, whom it took for the library’s user, in place of the person that the new library made, which it deleted.
Trait Implementations§
impl Eq for Imported
impl StructuralPartialEq for Imported
Auto Trait Implementations§
impl Forget for Imported
impl Freeze for Imported
impl Move for Imported
impl RefUnwindSafe for Imported
impl Send for Imported
impl Sync for Imported
impl Unpin for Imported
impl UnsafeUnpin for Imported
impl UnwindSafe for Imported
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.