Struct couchdb::Design
[−]
[src]
pub struct Design { pub views: ViewFunctionMap, // some fields omitted }
Content of a design document.
CouchDB design documents contain many fields. However, the Design
type
currently supports only views.
Applications may construct a Design
by using a DesignBuilder
.
Fields
views | Map of view names to the view function for each name. |
Methods
impl Design
fn new() -> Self
Construct an empty design document.
An empty design document contains no views.