pub struct Pack {
pub name: String,
pub version: String,
pub description: String,
pub namespace: String,
pub requires: Vec<String>,
pub includes: Vec<String>,
pub files: Vec<(String, String)>,
}Fields§
§name: String§version: String§description: String§namespace: Stringthe short prefix of every node id this pack provides: <namespace>--<local id>
requires: Vec<String>packs that must already be in the model (or come along in the same add)
includes: Vec<String>child packs this one bundles: adding it brings them in too (a collection has only a manifest)
files: Vec<(String, String)>(node id, file text), the manifest included
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pack
impl RefUnwindSafe for Pack
impl Send for Pack
impl Sync for Pack
impl Unpin for Pack
impl UnsafeUnpin for Pack
impl UnwindSafe for Pack
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