pub struct ScoreConfigView {
pub categories: Option<Vec<String>>,
pub created_at: Option<String>,
pub data_type: Option<String>,
pub max_value: Option<f64>,
pub min_value: Option<f64>,
pub name: Option<String>,
pub updated_at: Option<String>,
}Fields§
§categories: Option<Vec<String>>Categories is the closed set of labels a CATEGORICAL score may carry.
created_at: Option<String>CreatedAt is when the rubric was first declared.
data_type: Option<String>DataType is NUMERIC, CATEGORICAL or BOOLEAN, and is authoritative — a score recorded under this name cannot claim a different one.
max_value: Option<f64>MaxValue is the inclusive ceiling a NUMERIC score must stay under, absent when unbounded.
min_value: Option<f64>MinValue is the inclusive floor a NUMERIC score must clear, absent when unbounded.
name: Option<String>Name is the score name this rubric governs.
updated_at: Option<String>UpdatedAt is when it last changed.
Implementations§
Source§impl ScoreConfigView
impl ScoreConfigView
pub fn new() -> ScoreConfigView
Trait Implementations§
Source§impl Clone for ScoreConfigView
impl Clone for ScoreConfigView
Source§fn clone(&self) -> ScoreConfigView
fn clone(&self) -> ScoreConfigView
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 ScoreConfigView
impl Debug for ScoreConfigView
Source§impl Default for ScoreConfigView
impl Default for ScoreConfigView
Source§fn default() -> ScoreConfigView
fn default() -> ScoreConfigView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScoreConfigView
impl<'de> Deserialize<'de> for ScoreConfigView
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 PartialEq for ScoreConfigView
impl PartialEq for ScoreConfigView
Source§impl Serialize for ScoreConfigView
impl Serialize for ScoreConfigView
impl StructuralPartialEq for ScoreConfigView
Auto Trait Implementations§
impl Freeze for ScoreConfigView
impl RefUnwindSafe for ScoreConfigView
impl Send for ScoreConfigView
impl Sync for ScoreConfigView
impl Unpin for ScoreConfigView
impl UnsafeUnpin for ScoreConfigView
impl UnwindSafe for ScoreConfigView
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