Struct cargo_packager_updater::WindowsConfig
source · pub struct WindowsConfig {
pub installer_args: Option<Vec<String>>,
pub install_mode: Option<WindowsUpdateInstallMode>,
}
Expand description
The updater configuration for Windows.
Fields§
§installer_args: Option<Vec<String>>
Additional arguments given to the NSIS or WiX installer.
install_mode: Option<WindowsUpdateInstallMode>
The installation mode for the update on Windows. Defaults to passive
.
Trait Implementations§
source§impl Clone for WindowsConfig
impl Clone for WindowsConfig
source§fn clone(&self) -> WindowsConfig
fn clone(&self) -> WindowsConfig
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 Debug for WindowsConfig
impl Debug for WindowsConfig
source§impl Default for WindowsConfig
impl Default for WindowsConfig
source§fn default() -> WindowsConfig
fn default() -> WindowsConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WindowsConfig
impl<'de> Deserialize<'de> for WindowsConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for WindowsConfig
impl PartialEq for WindowsConfig
source§fn eq(&self, other: &WindowsConfig) -> bool
fn eq(&self, other: &WindowsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WindowsConfig
impl Serialize for WindowsConfig
impl Eq for WindowsConfig
impl StructuralPartialEq for WindowsConfig
Auto Trait Implementations§
impl RefUnwindSafe for WindowsConfig
impl Send for WindowsConfig
impl Sync for WindowsConfig
impl Unpin for WindowsConfig
impl UnwindSafe for WindowsConfig
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.