Struct spack::commands::checksum::AddToPackage
source · pub struct AddToPackage {
pub spack: SpackInvocation,
pub package_name: String,
pub new_version: String,
}Expand description
Request to add a new version to a package in the summoned spack repo.
Fields§
§spack: SpackInvocation§package_name: String§new_version: StringImplementations§
source§impl AddToPackage
impl AddToPackage
pub async fn idempotent_ensure_version_for_package( self ) -> Result<(), ChecksumError>
Trait Implementations§
source§impl Clone for AddToPackage
impl Clone for AddToPackage
source§fn clone(&self) -> AddToPackage
fn clone(&self) -> AddToPackage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl CommandBase for AddToPackage
impl CommandBase for AddToPackage
source§fn setup_command<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn setup_command<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
Generate a command line from the given object.
Auto Trait Implementations§
impl RefUnwindSafe for AddToPackage
impl Send for AddToPackage
impl Sync for AddToPackage
impl Unpin for AddToPackage
impl UnwindSafe for AddToPackage
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