pub struct AddonPrepareOutput {
pub version: Option<String>,
pub metadata_patch: Option<MetadataPatch>,
pub managed_files: Vec<PathBuf>,
}Expand description
Output produced by Addon::prepare.
Fields§
§version: Option<String>Resolved addon version string to persist in instance state.
metadata_patch: Option<MetadataPatch>Declarative metadata patch layered onto the instance’s PistonMetaData.
managed_files: Vec<PathBuf>Additional files created/managed by this addon (tracked for cleanup on removal).
Trait Implementations§
Source§impl Clone for AddonPrepareOutput
impl Clone for AddonPrepareOutput
Source§impl Debug for AddonPrepareOutput
impl Debug for AddonPrepareOutput
Auto Trait Implementations§
impl Forget for AddonPrepareOutput
impl Freeze for AddonPrepareOutputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<PistonMetaLibraries>: Freeze,
PhantomData<PistonMetaGenericArgument>: Freeze,
PhantomData<PathBuf>: Freeze,
impl Move for AddonPrepareOutput
impl RefUnwindSafe for AddonPrepareOutput
impl Send for AddonPrepareOutput
impl Sync for AddonPrepareOutput
impl Unpin for AddonPrepareOutput
impl UnsafeUnpin for AddonPrepareOutputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<PistonMetaLibraries>: UnsafeUnpin,
PhantomData<PistonMetaGenericArgument>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for AddonPrepareOutputwhere
RawVecInner: UnwindSafe,
HashMap<String, PistonMetaLibrariesDownloadsArtifact>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, String>: UnwindSafe,
HashMap<String, bool>: 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