pub struct ResolutionOutcome {
pub winner_id: String,
pub loser_id: String,
pub winner_score: f64,
pub loser_score: f64,
pub score_delta: f64,
pub winner_components: ScoreComponents,
pub loser_components: ScoreComponents,
}Expand description
Output of running the resolution formula on a contradiction.
Fields§
§winner_id: String§loser_id: String§winner_score: f64§loser_score: f64§score_delta: f64§winner_components: ScoreComponents§loser_components: ScoreComponentsTrait Implementations§
Source§impl Clone for ResolutionOutcome
impl Clone for ResolutionOutcome
Source§fn clone(&self) -> ResolutionOutcome
fn clone(&self) -> ResolutionOutcome
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 ResolutionOutcome
impl Debug for ResolutionOutcome
Source§impl<'de> Deserialize<'de> for ResolutionOutcome
impl<'de> Deserialize<'de> for ResolutionOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResolutionOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResolutionOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResolutionOutcome
impl PartialEq for ResolutionOutcome
Source§impl Serialize for ResolutionOutcome
impl Serialize for ResolutionOutcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ResolutionOutcome
Auto Trait Implementations§
impl Freeze for ResolutionOutcome
impl RefUnwindSafe for ResolutionOutcome
impl Send for ResolutionOutcome
impl Sync for ResolutionOutcome
impl Unpin for ResolutionOutcome
impl UnsafeUnpin for ResolutionOutcome
impl UnwindSafe for ResolutionOutcome
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