1 2 3 4 5 6 7 8 9 10 11
use std::collections::HashMap; use super::node::Node; pub struct NodeElement { // available tags: a, aside, b, blockquote, br, code, em, tag: String, // available attrs: href, src attrs: Option<HashMap<String, i64>>, children: Option<Vec<Node>> }