pub struct ImportedPack {
pub manifest: PackManifest,
pub members: Vec<ImportedMember>,
pub extra: Vec<BundleFile>,
pub notes: Vec<String>,
}Expand description
A bundle read as a pack.
Fields§
§manifest: PackManifestThe pack manifest. Its capabilities are filled in by the writer.
members: Vec<ImportedMember>§extra: Vec<BundleFile>Files the pack does not carry as members, kept under extra/ so a
later Tuff or a host can use them.
notes: Vec<String>Facts worth telling the person importing, such as a version Tuff had to choose.
Implementations§
Source§impl ImportedPack
impl ImportedPack
Sourcepub fn unsupported(&self) -> &[PackUnsupported]
pub fn unsupported(&self) -> &[PackUnsupported]
What the source had that the pack does not carry.
Trait Implementations§
Source§impl Clone for ImportedPack
impl Clone for ImportedPack
Auto Trait Implementations§
impl Forget for ImportedPack
impl Freeze for ImportedPackwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<PackMember>: Freeze,
PhantomData<PackUnsupported>: Freeze,
*const LeafNode<String, Map<String, Value>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Map<String, Value>)>>: Freeze,
PhantomData<ImportedMember>: Freeze,
PhantomData<BundleFile>: Freeze,
impl Move for ImportedPack
impl RefUnwindSafe for ImportedPack
impl Send for ImportedPack
impl Sync for ImportedPack
impl Unpin for ImportedPack
impl UnsafeUnpin for ImportedPackwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<PackMember>: UnsafeUnpin,
PhantomData<PackUnsupported>: UnsafeUnpin,
*const LeafNode<String, Map<String, Value>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Map<String, Value>)>>: UnsafeUnpin,
PhantomData<ImportedMember>: UnsafeUnpin,
PhantomData<BundleFile>: UnsafeUnpin,
impl UnwindSafe for ImportedPackwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Map<String, Value>>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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