Struct chill::Design [] [src]

pub struct Design {
    pub views: HashMap<ViewNameViewFunction>,
    // some fields omitted
}

Container for the content of a design document.

Design is a convenience type for applications that create, read, or update design documents.

Currently, Design supports only the views field of a design document. For more information about design documents, please see the CouchDB documentation.

Fields

views: HashMap<ViewNameViewFunction>

The view functions stored within the design document, if any.

Trait Implementations

impl PartialEq for Design
[src]

fn eq(&self, __arg_0: &Design) -> bool

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

fn ne(&self, __arg_0: &Design) -> bool

This method tests for !=.

impl Eq for Design
[src]

impl Debug for Design
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Design
[src]

fn clone(&self) -> Design

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

impl Deserialize for Design
[src]

fn deserialize<D>(deserializer: &mut D) -> Result<Self, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.

impl Serialize for Design
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.