#[derive(Document)] { // Attributes available to this derive: #[document] #[field] #[validate] }
Derives the document trait.
Panics if the input is somehow a tuple struct that isn’t caught.