Trait tiny_firestore_odm::QualifyDocumentName [−][src]
pub trait QualifyDocumentName {
fn qualify(
&self,
parent: &CollectionName
) -> Result<DocumentName, QualifyError>;
}
Expand description
Represents a type that can be turned into a fully-qualified document name.
Required methods
fn qualify(&self, parent: &CollectionName) -> Result<DocumentName, QualifyError>
fn qualify(&self, parent: &CollectionName) -> Result<DocumentName, QualifyError>
Create a document name from self, using the given collection as its parent.