pub struct DocumentUploadResponse {
pub id: String,
pub hash: String,
}Expand description
Response from the document upload endpoint.
Fields§
§id: StringDocument UUID — pass this as a reference in signing requests.
hash: StringSHA hash of the uploaded document for integrity verification.
Trait Implementations§
Source§impl Clone for DocumentUploadResponse
impl Clone for DocumentUploadResponse
Source§fn clone(&self) -> DocumentUploadResponse
fn clone(&self) -> DocumentUploadResponse
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 moreSource§impl Debug for DocumentUploadResponse
impl Debug for DocumentUploadResponse
Source§impl<'de> Deserialize<'de> for DocumentUploadResponse
impl<'de> Deserialize<'de> for DocumentUploadResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DocumentUploadResponse
impl RefUnwindSafe for DocumentUploadResponse
impl Send for DocumentUploadResponse
impl Sync for DocumentUploadResponse
impl Unpin for DocumentUploadResponse
impl UnsafeUnpin for DocumentUploadResponse
impl UnwindSafe for DocumentUploadResponse
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