pub struct InstallRequest {Show 16 fields
pub query: PackageQuery,
pub manifest_path: Option<PathBuf>,
pub mode: InstallerMode,
pub log_path: Option<PathBuf>,
pub custom: Option<String>,
pub override_args: Option<String>,
pub install_location: Option<String>,
pub skip_dependencies: bool,
pub dependencies_only: bool,
pub accept_package_agreements: bool,
pub force: bool,
pub rename: Option<String>,
pub uninstall_previous: bool,
pub ignore_security_hash: bool,
pub dependency_source: Option<String>,
pub no_upgrade: bool,
}Fields§
§query: PackageQuery§manifest_path: Option<PathBuf>§mode: InstallerMode§log_path: Option<PathBuf>§custom: Option<String>§override_args: Option<String>§install_location: Option<String>§skip_dependencies: bool§dependencies_only: bool§accept_package_agreements: bool§force: bool§rename: Option<String>§uninstall_previous: bool§ignore_security_hash: bool§dependency_source: Option<String>§no_upgrade: boolImplementations§
Source§impl InstallRequest
impl InstallRequest
pub fn new(query: PackageQuery) -> Self
Trait Implementations§
Source§impl Clone for InstallRequest
impl Clone for InstallRequest
Source§fn clone(&self) -> InstallRequest
fn clone(&self) -> InstallRequest
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 moreAuto Trait Implementations§
impl Freeze for InstallRequest
impl RefUnwindSafe for InstallRequest
impl Send for InstallRequest
impl Sync for InstallRequest
impl Unpin for InstallRequest
impl UnsafeUnpin for InstallRequest
impl UnwindSafe for InstallRequest
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