Struct couchdb::attachment::Encoding [] [src]

pub struct Encoding { /* fields omitted */ }

Encoding contains information about the compression the CouchDB server uses to store an attachment's content.

Methods

impl Encoding
[src]

Returns the size of the attachment's compressed content, in bytes.

Returns whether the compression codec is gzip.

Trait Implementations

impl Clone for Encoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Encoding
[src]

Formats the value using the given formatter.

impl Eq for Encoding
[src]

impl PartialEq for Encoding
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.