wacht 0.1.0-beta.8

Official Rust SDK for the Wacht platform, providing type-safe API client and authentication middleware
Documentation
1
2
3
4
5
6
7
8
9
10
/// Server response from a binary download endpoint (e.g. board-item
/// filesystem `download` route). Body bytes are accompanied by the MIME
/// type and suggested filename pulled from `Content-Type` and
/// `Content-Disposition`.
#[derive(Debug, Clone)]
pub struct BinaryFileResponse {
    pub data: Vec<u8>,
    pub mime_type: Option<String>,
    pub file_name: Option<String>,
}