rsgraph 0.1.1

telegra.ph API bindings in Rust
Documentation
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>>

}