pub struct SaveReport {
pub written: Vec<PathBuf>,
pub skipped: Vec<String>,
pub unwritten: usize,
}Expand description
Outcome of writing a model back to disk.
Fields§
§written: Vec<PathBuf>§skipped: Vec<String>Headers that declared no profile this schema recognises.
unwritten: usizeObjects no output file covers.
Non-zero means the export is not the model: an object belongs to a file whose
header declares no profile — a document with no md:FullModel at all, for
instance — and there is nothing to reproduce it into. Reported as a number rather
than left to be inferred from an empty written, because a partly exported model
is the case that looks like success.
Trait Implementations§
Source§impl Debug for SaveReport
impl Debug for SaveReport
Auto Trait Implementations§
impl Forget for SaveReport
impl Freeze for SaveReport
impl Move for SaveReport
impl RefUnwindSafe for SaveReport
impl Send for SaveReport
impl Sync for SaveReport
impl Unpin for SaveReport
impl UnsafeUnpin for SaveReport
impl UnwindSafe for SaveReport
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