struct MarkupAn HTML fragment trusted for direct insertion into a rendered document.
The html macro constructs this after escaping interpolated values; its reference documents the complete template grammar and escaping rules. The public initializer is an explicit trust boundary: callers must not wrap unescaped user text. Ordinary values should conform to RenderHtml instead.
Methods
consuming func into_string() -> String
Transfers the trusted HTML string out of this wrapper without copying.
View Source
pub consuming func into_string() -> String {
self.value
}