pub struct ExportedNarrative {
pub case_id: String,
pub storyline: String,
pub evidence_points: Vec<String>,
pub violated_expectations: Vec<ExportedViolation>,
pub red_flags: Vec<ExportedRedFlag>,
pub recommendation: String,
pub metadata: NarrativeMetadata,
}Expand description
Exported case narrative with full details.
Fields§
§case_id: StringCase ID
storyline: StringMain storyline
evidence_points: Vec<String>Evidence points
violated_expectations: Vec<ExportedViolation>Violated expectations
red_flags: Vec<ExportedRedFlag>Red flags
recommendation: StringRecommendation
metadata: NarrativeMetadataScenario metadata
Implementations§
Source§impl ExportedNarrative
impl ExportedNarrative
Sourcepub fn from_scenario(scenario: &AmlScenario, narrative: &CaseNarrative) -> Self
pub fn from_scenario(scenario: &AmlScenario, narrative: &CaseNarrative) -> Self
Create from scenario and narrative.
Trait Implementations§
Source§impl Clone for ExportedNarrative
impl Clone for ExportedNarrative
Source§fn clone(&self) -> ExportedNarrative
fn clone(&self) -> ExportedNarrative
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportedNarrative
impl Debug for ExportedNarrative
Source§impl<'de> Deserialize<'de> for ExportedNarrative
impl<'de> Deserialize<'de> for ExportedNarrative
Source§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 Freeze for ExportedNarrative
impl RefUnwindSafe for ExportedNarrative
impl Send for ExportedNarrative
impl Sync for ExportedNarrative
impl Unpin for ExportedNarrative
impl UnwindSafe for ExportedNarrative
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