Doc

Trait Doc 

Source
pub trait Doc:
    Sized
    + DeserializeOwned
    + Serialize
    + 'static
    + Clone {
    // Required method
    fn id(&self) -> Option<String>;
}

Required Methods§

Source

fn id(&self) -> Option<String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Doc for Value

Source§

fn id(&self) -> Option<String>

Implementors§