pub struct InstallOptions {
pub user: Option<String>,
pub dont_kill: bool,
pub restrict_permissions: bool,
pub package_name: Option<String>,
pub install_location: Option<InstallLocationOption>,
pub grant_permissions: bool,
pub force: bool,
pub replace_existing_application: bool,
pub allow_version_downgrade: bool,
}
Fields§
§user: Option<String>
§dont_kill: bool
§restrict_permissions: bool
§package_name: Option<String>
§install_location: Option<InstallLocationOption>
§grant_permissions: bool
§force: bool
§replace_existing_application: bool
§allow_version_downgrade: bool
Trait Implementations§
Source§impl Clone for InstallOptions
impl Clone for InstallOptions
Source§fn clone(&self) -> InstallOptions
fn clone(&self) -> InstallOptions
Returns a duplicate 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 Debug for InstallOptions
impl Debug for InstallOptions
Source§impl Default for InstallOptions
impl Default for InstallOptions
Source§fn default() -> InstallOptions
fn default() -> InstallOptions
Returns the “default value” for a type. Read more
Source§impl Display for InstallOptions
impl Display for InstallOptions
Source§impl IntoIterator for InstallOptions
impl IntoIterator for InstallOptions
Source§impl PartialEq for InstallOptions
impl PartialEq for InstallOptions
impl Eq for InstallOptions
impl StructuralPartialEq for InstallOptions
Auto Trait Implementations§
impl Freeze for InstallOptions
impl RefUnwindSafe for InstallOptions
impl Send for InstallOptions
impl Sync for InstallOptions
impl Unpin for InstallOptions
impl UnwindSafe for InstallOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.