Skip to main content

IntoDocumentPath

Trait IntoDocumentPath 

Source
pub trait IntoDocumentPath: Send + Sync {
    // Required method
    fn as_path(&self) -> Option<&'static str>;
}

Required Methods§

Source

fn as_path(&self) -> Option<&'static str>

Create JSON key path

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§