pub struct AttributeScores {
pub span_scores: Option<Vec<SpanScore>>,
pub summary_score: Option<Score>,
}Expand description
This holds score values for a single attribute. It contains both per-span scores as well as an overall summary score..
This type is not used in any activity, and only used as part of another schema.
Fields§
§span_scores: Option<Vec<SpanScore>>Per-span scores.
summary_score: Option<Score>Overall score for comment as a whole.
Trait Implementations§
Source§impl Clone for AttributeScores
impl Clone for AttributeScores
Source§fn clone(&self) -> AttributeScores
fn clone(&self) -> AttributeScores
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 AttributeScores
impl Debug for AttributeScores
Source§impl Default for AttributeScores
impl Default for AttributeScores
Source§fn default() -> AttributeScores
fn default() -> AttributeScores
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeScores
impl<'de> Deserialize<'de> for AttributeScores
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
Source§impl Serialize for AttributeScores
impl Serialize for AttributeScores
impl Part for AttributeScores
Auto Trait Implementations§
impl Freeze for AttributeScores
impl RefUnwindSafe for AttributeScores
impl Send for AttributeScores
impl Sync for AttributeScores
impl Unpin for AttributeScores
impl UnwindSafe for AttributeScores
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