pub struct LaserLogicResult {
pub argument: Argument,
pub validity: ValidityStatus,
pub validity_explanation: String,
pub soundness: SoundnessStatus,
pub soundness_explanation: String,
pub fallacies: Vec<DetectedFallacy>,
pub argument_form: Option<ArgumentForm>,
pub confidence: f64,
pub reasoning_steps: Vec<String>,
pub suggestions: Vec<String>,
pub contradictions: Vec<Contradiction>,
}Expand description
Complete analysis result from LaserLogic
Fields§
§argument: ArgumentThe argument that was analyzed
validity: ValidityStatusValidity status
validity_explanation: StringValidity explanation
soundness: SoundnessStatusSoundness status
soundness_explanation: StringSoundness explanation
fallacies: Vec<DetectedFallacy>Detected fallacies
argument_form: Option<ArgumentForm>Detected argument form
confidence: f64Overall confidence in the analysis (0.0 - 1.0)
reasoning_steps: Vec<String>Reasoning steps taken
suggestions: Vec<String>Suggestions for improvement
contradictions: Vec<Contradiction>Detected contradictions
Implementations§
Source§impl LaserLogicResult
impl LaserLogicResult
Sourcepub fn has_fallacies(&self) -> bool
pub fn has_fallacies(&self) -> bool
Check if any fallacies were detected
Sourcepub fn most_severe_fallacy(&self) -> Option<&DetectedFallacy>
pub fn most_severe_fallacy(&self) -> Option<&DetectedFallacy>
Get the most severe fallacy
Trait Implementations§
Source§impl Clone for LaserLogicResult
impl Clone for LaserLogicResult
Source§fn clone(&self) -> LaserLogicResult
fn clone(&self) -> LaserLogicResult
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 LaserLogicResult
impl Debug for LaserLogicResult
Source§impl<'de> Deserialize<'de> for LaserLogicResult
impl<'de> Deserialize<'de> for LaserLogicResult
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 LaserLogicResult
impl RefUnwindSafe for LaserLogicResult
impl Send for LaserLogicResult
impl Sync for LaserLogicResult
impl Unpin for LaserLogicResult
impl UnwindSafe for LaserLogicResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more