Struct couchdb::action::PutDatabase [] [src]

pub struct PutDatabase<'a, P> where P: IntoDatabasePath {
    // some fields omitted
}

Action to create a database.

Errors

The following are some of the errors that may occur as a result of executing this action:

Methods

impl<'a, P: IntoDatabasePath> PutDatabase<'a, P>

fn run(self) -> Result<(), Error>

Sends the action request and waits for the response.