pub trait Document { fn ty() -> Type; }
A type that’s understandable by Doku.
Usually you’ll get this by adding #[derive(Document)] to your type:
#[derive(Document)]
use doku::Document; #[derive(Document)] struct Foo;