pub struct EncounterResult {
pub participants: Vec<String>,
pub practice: Option<String>,
pub beats: Vec<Beat>,
pub relationship_deltas: Vec<Effect>,
pub knowledge_transfers: Vec<Effect>,
pub emotional_events: Vec<Effect>,
pub mood_shifts: Vec<Effect>,
pub need_satisfactions: Vec<Effect>,
pub value_shifts: Vec<Effect>,
pub practice_exits: Vec<Effect>,
pub escalation_requested: bool,
pub escalation_requests: Vec<EscalationRequest>,
}Expand description
Aggregated output of a resolved encounter.
Each Effect variant has a corresponding aggregate bucket; consumers may
either walk beats[*].effects for fully ordered context, or read the
per-variant buckets when only one effect kind is needed.
Fields§
§participants: Vec<String>Characters who participated.
practice: Option<String>The practice that framed this encounter, if any.
beats: Vec<Beat>Ordered sequence of beats that occurred.
relationship_deltas: Vec<Effect>All Effect::RelationshipDelta effects from all beats.
knowledge_transfers: Vec<Effect>All Effect::KnowledgeTransfer effects from all beats.
emotional_events: Vec<Effect>All Effect::EmotionalEvent effects from all beats.
mood_shifts: Vec<Effect>All Effect::MoodShift effects from all beats.
need_satisfactions: Vec<Effect>All Effect::NeedSatisfaction effects from all beats.
value_shifts: Vec<Effect>All Effect::ValueShift effects from all beats.
practice_exits: Vec<Effect>All Effect::PracticeExit effects from all beats.
escalation_requested: boolWhether any participant requested escalation.
escalation_requests: Vec<EscalationRequest>Escalation requests emitted during the encounter.
Implementations§
Trait Implementations§
Source§impl Clone for EncounterResult
impl Clone for EncounterResult
Source§fn clone(&self) -> EncounterResult
fn clone(&self) -> EncounterResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more