Struct InstallArgs
#[non_exhaustive]pub struct InstallArgs {
pub ignore_compatible: Option<bool>,
pub ignore_version_limit: Option<bool>,
pub transaction_id: Option<String>,
pub require_manifest_hash: Option<String>,
pub tls_cert: Option<String>,
pub tls_key: Option<String>,
pub tls_ca: Option<String>,
pub http_headers: Option<Vec<String>>,
pub tls_no_verify: Option<bool>,
}Expand description
Options for InstallBundle.
Options that are None are not sent. The struct is #[non_exhaustive].
Start from InstallArgs::default() and set the fields you need.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ignore_compatible: Option<bool>Skips the check of the compatible string.
Added in RAUC 1.3.
ignore_version_limit: Option<bool>Skips the check of the min-bundle-version option.
Added in RAUC 1.12.
transaction_id: Option<String>The UUID that identifies the transaction. RAUC makes one if it is not set.
Added in RAUC 1.10.
require_manifest_hash: Option<String>The expected manifest hash of the bundle.
Read it with InspectBundle first. RAUC refuses a bundle with a
different hash.
Added in RAUC 1.14.
tls_cert: Option<String>The certificate for TLS client authentication, as a file name or PKCS#11 URL.
Added in RAUC 1.7.
tls_key: Option<String>The private key for TLS client authentication, as a file name or PKCS#11 URL.
Added in RAUC 1.7.
tls_ca: Option<String>The certificate that authenticates the server instead of the system store.
Added in RAUC 1.7.
http_headers: Option<Vec<String>>Headers to add to every HTTP request, for example bearer tokens.
Added in RAUC 1.7.
tls_no_verify: Option<bool>Ignores verification errors of the server certificate.
Added in RAUC 1.7.
Trait Implementations§
§impl Clone for InstallArgs
impl Clone for InstallArgs
§fn clone(&self) -> InstallArgs
fn clone(&self) -> InstallArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more