pub fn new<T>(key: T, dialogue: T) -> Node
    where
        T: Into<String>,
    {
        Node {
            key: key.into(),
            dialogue: dialogue.into(),
            links: vec![],
        }
    }
/// Returns a [`Node`] with prompting dialogue. The structure returned contains no links.
///
/// # Arguments
///
/// * `key` - A string type that holds unique identifier for indexing.
/// * `dialogue` - A string type that holds associated descriptor dialogue.
///
/// # Examples
///
/// ```
/// use convo::Node;
/// let node = Node::new("start", "How are you?");
/// ```
Returns a [`Node`] with prompting dialogue. The structure returned contains no links.
Returns a [ ` Node ` ] with prompting dialogue . The structure returned contains no links .
pub fn new<T>(key: T, dialogue: T) -> Node
    where
        T: Into<String>,
    {
        Node {
            key: key.into(),
            dialogue: dialogue.into(),
            links: vec![],
        }
    }
pub fn new < T > ( key : T , dialogue : T ) -> Node where T : Into < String > , { Node { key : key . into ( ) , dialogue : dialogue . into ( ) , links : vec ! [ ] , } }
Returns a [`Node`] with prompting dialogue.
Returns a [ ` Node ` ] with prompting dialogue .
key
T
dialogue
T
key
T
dialogue
T
examples
```
use convo::Node;
let node = Node::new("start", "How are you?");
```
` ` ` use convo :: Node ; let node = Node :: new ( " start " " How are you? " ) ; ` ` `