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]
fn length(&self) -> u64
Returns the size of the attachment's compressed content, in bytes.
fn is_gzip(&self) -> bool
Returns whether the compression codec is gzip.
Trait Implementations
impl Clone for Encoding
[src]
fn clone(&self) -> Encoding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more