pub struct PackInfo {
pub app: PackApp,
pub modules: Vec<PackModule>,
pub packages: Vec<PackPackage>,
pub notes: Vec<Note>,
pub unmodelled: Vec<String>,
/* private fields */
}Expand description
A parsed pack.info.
Fields§
§app: PackAppsummary.app.
modules: Vec<PackModule>summary.modules.
packages: Vec<PackPackage>packages: the HAP/HSP files of the bundle.
notes: Vec<Note>Fields that were present but wrongly typed, and so skipped.
unmodelled: Vec<String>JSON paths of fields this model has no place for.
Implementations§
Source§impl PackInfo
impl PackInfo
Sourcepub fn summary_lines(&self) -> Vec<String>
pub fn summary_lines(&self) -> Vec<String>
One fact per line: pack-app, then per module pack-module,
pack-ability, pack-extension and pack-form (each carrying the
module name), then pack-package, unmodelled and note.
Sourcepub fn summary(&self) -> String
pub fn summary(&self) -> String
PackInfo::summary_lines joined, each line newline-terminated.
Trait Implementations§
impl StructuralPartialEq for PackInfo
Auto Trait Implementations§
impl Forget for PackInfo
impl Freeze for PackInfo
impl Move for PackInfo
impl RefUnwindSafe for PackInfo
impl Send for PackInfo
impl Sync for PackInfo
impl Unpin for PackInfo
impl UnsafeUnpin for PackInfo
impl UnwindSafe for PackInfo
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