pub struct Node {
pub name: String,
pub meta: HashMap<String, String>,
pub actions: Vec<Action>,
pub tags: Vec<String>,
pub body: String,
pub choices: Vec<Choice>,
}Expand description
Represents a single dialogue node.
Fields§
§name: String§meta: HashMap<String, String>§actions: Vec<Action>§body: String§choices: Vec<Choice>Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more