Struct chill::action::create_document::CreateDocument [] [src]

pub struct CreateDocument<'a, T, P, C> where C: Serialize + 'a, P: IntoDatabasePath, T: Transport + 'a {
    // some fields omitted
}

Methods

impl<'a, C, P, T> CreateDocument<'a, T, P, C> where C: Serialize + 'a, P: IntoDatabasePath, T: Transport + 'a
[src]

fn with_document_id<D>(self, doc_id: D) -> Self where D: Into<DocumentId>

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