link-common 0.5.3-rc.1

Shared Rust implementation for KalamDB link crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Response from a FILE column download request.

/// Bytes and HTTP metadata returned by [`KalamLinkClient::download_file`].
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct FileDownload {
    /// Raw file content.
    pub bytes: Vec<u8>,
    /// Value of the `Content-Type` response header, when present.
    pub content_type: Option<String>,
    /// Value of the `Content-Disposition` response header, when present.
    pub content_disposition: Option<String>,
}