pub struct ScalePoint {
pub score: f64,
pub label: String,
pub description: String,
}Available on crate feature
eval only.Expand description
A single point on a rubric scoring scale.
Fields§
§score: f64Numeric score for this level.
label: StringShort label (e.g., “Excellent”, “Poor”).
description: StringDetailed description of what this level means.
Trait Implementations§
Source§impl Clone for ScalePoint
impl Clone for ScalePoint
Source§fn clone(&self) -> ScalePoint
fn clone(&self) -> ScalePoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScalePoint
impl Debug for ScalePoint
Source§impl<'de> Deserialize<'de> for ScalePoint
impl<'de> Deserialize<'de> for ScalePoint
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScalePoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScalePoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ScalePoint
impl Serialize for ScalePoint
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
Auto Trait Implementations§
impl Freeze for ScalePoint
impl RefUnwindSafe for ScalePoint
impl Send for ScalePoint
impl Sync for ScalePoint
impl Unpin for ScalePoint
impl UnsafeUnpin for ScalePoint
impl UnwindSafe for ScalePoint
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