pub struct RawMetadataResponse { /* private fields */ }
Expand description

The metadata response from the server, when fetching the data through the API. This response contains raw metadata, which is still encrypted.

Implementations

Get and decrypt the metadata, based on the raw data in this response.

The decrypted data is verified using an included tag. If verification failed, an error is returned.

Get the file size in bytes.

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.