pub struct ExportMeta {
pub filename: Option<String>,
pub bytes: u64,
pub content_type: Option<String>,
}Expand description
The export download result — the ZIP was STREAMED to disk (never
buffered in a Vec<u8>, Pitfall 2) and this is what the response
metadata said about it. Not serialized into envelopes (the file is
the artifact; the command output model lives in the actions layer).
Fields§
§filename: Option<String>Filename from Content-Disposition, when the header carries one
(the actions layer sanitizes it into the default output name;
None falls back to <name>.zip).
bytes: u64Bytes written to disk (counted chunk-by-chunk as they streamed).
content_type: Option<String>Response Content-Type — sniffed, never assumed.
Trait Implementations§
Source§impl Clone for ExportMeta
impl Clone for ExportMeta
Source§fn clone(&self) -> ExportMeta
fn clone(&self) -> ExportMeta
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 ExportMeta
impl RefUnwindSafe for ExportMeta
impl Send for ExportMeta
impl Sync for ExportMeta
impl Unpin for ExportMeta
impl UnsafeUnpin for ExportMeta
impl UnwindSafe for ExportMeta
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