idkollen_client/models/document.rs
1use serde::Deserialize;
2
3/// Response from the document upload endpoint.
4#[derive(Debug, Clone, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub struct DocumentUploadResponse {
7 /// Document UUID — pass this as a reference in signing requests.
8 pub id: String,
9 /// SHA hash of the uploaded document for integrity verification.
10 pub hash: String,
11}