QualifyDocumentName

Trait QualifyDocumentName 

Source
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§

Source

fn qualify(&self, parent: &CollectionName) -> Result<DocumentName, QualifyError>

Create a document name from self, using the given collection as its parent.

Implementations on Foreign Types§

Source§

impl QualifyDocumentName for &str

Source§

fn qualify(&self, parent: &CollectionName) -> Result<DocumentName, QualifyError>

Implementors§