Struct rust_rpg_toolkit::dialogue::Dialogue [−][src]
pub struct Dialogue {
pub id: String,
pub title: String,
pub body: Vec<String>,
pub response: Vec<String>,
pub options: Vec<String>,
pub requirements: Vec<DialogueRequirement>,
pub exclusions: Vec<DialogueRequirement>,
pub action: Option<DialogueAction>,
pub actor_name: String,
pub should_apply: bool,
}
Fields
id: String
title: String
body: Vec<String>
response: Vec<String>
options: Vec<String>
requirements: Vec<DialogueRequirement>
exclusions: Vec<DialogueRequirement>
action: Option<DialogueAction>
actor_name: String
should_apply: bool
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Dialogue
impl UnwindSafe for Dialogue
Blanket Implementations
Mutably borrows from an owned value. Read more