pub struct BundleDownloadResult {
pub file: String,
pub bytes: u64,
pub content_type: Option<String>,
}Expand description
ign diagnostics bundle generate / status / wait — the three
status-carrying verbs return the CAPTURED wire directly (the
envelope’s data.state / data.fileSize are the gateway’s own
shape; no wrapper re-keys it).
ign diagnostics bundle download output model — all keys always.
Fields§
§file: StringThe file written (as resolved: the -o override, the
gateway’s Content-Disposition basename, or the
ignition-diagnostics-bundle-<unix_ts>.zip fallback).
bytes: u64Bytes written (== the status fileSize on the captures).
content_type: Option<String>Response Content-Type — application/zip;charset=utf-8 on
the captures.
Trait Implementations§
Source§impl Debug for BundleDownloadResult
impl Debug for BundleDownloadResult
Auto Trait Implementations§
impl Freeze for BundleDownloadResult
impl RefUnwindSafe for BundleDownloadResult
impl Send for BundleDownloadResult
impl Sync for BundleDownloadResult
impl Unpin for BundleDownloadResult
impl UnsafeUnpin for BundleDownloadResult
impl UnwindSafe for BundleDownloadResult
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