Struct wasmer_deploy_cli::util::package_wizard::PackageWizard
source · pub struct PackageWizard {
pub path: PathBuf,
pub type_: Option<PackageType>,
pub create_mode: CreateMode,
pub namespace: Option<String>,
pub namespace_default: Option<String>,
pub name: Option<String>,
pub user: Option<UserWithNamespaces>,
}Fields§
§path: PathBuf§type_: Option<PackageType>§create_mode: CreateMode§namespace: Option<String>Namespace to use.
namespace_default: Option<String>Default namespace to use.
Will still show a prompt, with this as the default value.
Ignored if Self::namespace is set.
name: Option<String>Pre-configured package name.
user: Option<UserWithNamespaces>Implementations§
source§impl PackageWizard
impl PackageWizard
pub async fn run( self, api: Option<&BackendClient> ) -> Result<PackageWizardOutput, Error>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PackageWizard
impl Send for PackageWizard
impl Sync for PackageWizard
impl Unpin for PackageWizard
impl UnwindSafe for PackageWizard
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