pub struct LogDownload {
pub bytes: Vec<u8>,
pub filename: Option<String>,
pub content_type: Option<String>,
}Expand description
The archive download result — raw SQLite bytes EXACTLY as received (never zipped, never extracted) plus the response metadata the CLI needs for naming. Not serialized into envelopes (the bytes are the artifact; the command output model lives in the actions layer).
Fields§
§bytes: Vec<u8>The .idb payload, byte-for-byte as the gateway sent it.
filename: Option<String>Filename from Content-Disposition, when the header carries one
(the live gateway always sends <Gateway>_Ignition_logs_<ts>.idb).
content_type: Option<String>Response Content-Type — application/x-sqlite3 (verified).
Trait Implementations§
Source§impl Clone for LogDownload
impl Clone for LogDownload
Source§fn clone(&self) -> LogDownload
fn clone(&self) -> LogDownload
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 moreAuto Trait Implementations§
impl Freeze for LogDownload
impl RefUnwindSafe for LogDownload
impl Send for LogDownload
impl Sync for LogDownload
impl Unpin for LogDownload
impl UnsafeUnpin for LogDownload
impl UnwindSafe for LogDownload
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