pub trait ToDocument {
// Required method
fn to_document(&self) -> Document;
}
Expand description
Trait for objects that can be converted to documents
Required Methods§
Sourcefn to_document(&self) -> Document
fn to_document(&self) -> Document
Convert this object to a document