pub struct PackageInstallOptions {
pub scope_override: Option<Scope>,
pub registry_handle: String,
pub yes: bool,
pub sub_packages: Option<Vec<String>>,
pub link_bins: bool,
}Expand description
Options for installing a local .zpa archive.
Fields§
§scope_override: Option<Scope>Optional installation scope override.
registry_handle: StringRegistry handle to record for the installed package. Use local for
local archives.
yes: boolAutomatically answer yes to prompts.
sub_packages: Option<Vec<String>>Optional split-package names to install from the archive.
link_bins: boolWhether to create binary links for installed package binaries.
Trait Implementations§
Source§impl Clone for PackageInstallOptions
impl Clone for PackageInstallOptions
Source§fn clone(&self) -> PackageInstallOptions
fn clone(&self) -> PackageInstallOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageInstallOptions
impl Debug for PackageInstallOptions
Auto Trait Implementations§
impl Freeze for PackageInstallOptions
impl RefUnwindSafe for PackageInstallOptions
impl Send for PackageInstallOptions
impl Sync for PackageInstallOptions
impl Unpin for PackageInstallOptions
impl UnsafeUnpin for PackageInstallOptions
impl UnwindSafe for PackageInstallOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more