Struct couchdb::Database [] [src]

pub struct Database {
    pub committed_update_seq: u64,
    pub compact_running: bool,
    pub db_name: DatabaseName,
    pub disk_format_version: i32,
    pub data_size: u64,
    pub disk_size: u64,
    pub doc_count: u64,
    pub doc_del_count: u64,
    pub instance_start_time: u64,
    pub purge_seq: u64,
    pub update_seq: u64,
    // some fields omitted
}

Database contains the content of a database resource.

Summary

Remarks

An application may obtain a database resource by sending an HTTP request to GET /{db}.

Compatibility

Database contains a dummy private member in order to prevent applications from directly constructing a Database instance. This allows new fields to be added to Database in future releases without it being a breaking change.

Fields

Trait Implementations

impl Clone for Database
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Database
[src]

Formats the value using the given formatter.

impl Default for Database
[src]

Returns the "default value" for a type. Read more

impl Eq for Database
[src]

impl Hash for Database
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Database
[src]

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

This method tests for !=.