pub struct ScoreReport {
pub term_names: Vec<String>,
pub whole_pose_terms: Vec<f32>,
pub per_residue_terms: Vec<ResidueTermScores>,
pub bonus_breakdown: Vec<BonusContribution>,
}Expand description
Plugin-contributed score breakdown, returned as the payload of the
well-known “score” Query. Every plugin that scores registers
score in its PluginRegistration.queries; the host calls each one
per UpdateAssembly broadcast and merges the results into an app-wide
score view.
The plugin ships only the RAW unweighted breakdown; the host owns the weighting (multiplies by its session weight map to produce the displayed total and per-residue coloring). Arrays align to term_names: same order, same length. Half-split already applied.
Fields§
§term_names: Vec<String>§whole_pose_terms: Vec<f32>§per_residue_terms: Vec<ResidueTermScores>§bonus_breakdown: Vec<BonusContribution>Labeled puzzle-objective bonuses, separate from the raw energy terms above. Each entry is one filter’s contribution (already in raw rosetta energy, same sign convention as the energy terms; the host adds these into the headline total alongside the weighted raw terms). Empty for a free-form session or a puzzle that forwarded no filters.
Trait Implementations§
Source§impl Clone for ScoreReport
impl Clone for ScoreReport
Source§impl Debug for ScoreReport
impl Debug for ScoreReport
Source§impl Default for ScoreReport
impl Default for ScoreReport
Source§impl Message for ScoreReport
impl Message for ScoreReport
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.