Trait couchdb::IntoDocumentPath
[−]
[src]
pub trait IntoDocumentPath { fn into_document_path(self) -> Result<DocumentPath, Error>; }
Trait for converting a type into a DocumentPath
.
Required Methods
fn into_document_path(self) -> Result<DocumentPath, Error>
Converts self into a DocumentPath
.
Implementors
impl<'a> IntoDocumentPath for &'a str
impl IntoDocumentPath for DocumentPath
impl IntoDocumentPath for DesignDocumentPath
impl<T: IntoDatabasePath> IntoDocumentPath for (T, DocumentId)