Struct InspectArgs
#[non_exhaustive]pub struct InspectArgs {
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 InspectBundle.
Options that are None are not sent. The struct is #[non_exhaustive].
Start from InspectArgs::default() and set the fields you need.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tls_cert: Option<String>The certificate for TLS client authentication, as a file name or PKCS#11 URL.
Added in RAUC 1.9.
tls_key: Option<String>The private key for TLS client authentication, as a file name or PKCS#11 URL.
Added in RAUC 1.9.
tls_ca: Option<String>The certificate that authenticates the server instead of the system store.
Added in RAUC 1.9.
http_headers: Option<Vec<String>>Headers to add to every HTTP request, for example bearer tokens.
Added in RAUC 1.9.
tls_no_verify: Option<bool>Ignores verification errors of the server certificate.
Added in RAUC 1.9.
Trait Implementations§
§impl Clone for InspectArgs
impl Clone for InspectArgs
§fn clone(&self) -> InspectArgs
fn clone(&self) -> InspectArgs
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 more§impl Debug for InspectArgs
impl Debug for InspectArgs
§impl Default for InspectArgs
impl Default for InspectArgs
§fn default() -> InspectArgs
fn default() -> InspectArgs
Returns the “default value” for a type. Read more
impl Eq for InspectArgs
§impl PartialEq for InspectArgs
impl PartialEq for InspectArgs
§impl Serialize for InspectArgs
impl Serialize for InspectArgs
impl StructuralPartialEq for InspectArgs
§impl Type for InspectArgs
impl Type for InspectArgs
Auto Trait Implementations§
impl Freeze for InspectArgs
impl RefUnwindSafe for InspectArgs
impl Send for InspectArgs
impl Sync for InspectArgs
impl Unpin for InspectArgs
impl UnsafeUnpin for InspectArgs
impl UnwindSafe for InspectArgs
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.