pub trait QualifyDocumentName {
// Required method
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§
Sourcefn 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.