pub struct ScoreOneOf {Show 18 fields
pub value: f64,
pub id: String,
pub trace_id: Option<Option<String>>,
pub session_id: Option<Option<String>>,
pub observation_id: Option<Option<String>>,
pub dataset_run_id: Option<Option<String>>,
pub name: String,
pub source: ScoreSource,
pub timestamp: String,
pub created_at: String,
pub updated_at: String,
pub author_user_id: Option<Option<String>>,
pub comment: Option<Option<String>>,
pub metadata: Option<Option<Value>>,
pub config_id: Option<Option<String>>,
pub queue_id: Option<Option<String>>,
pub environment: Option<Option<String>>,
pub data_type: DataType,
}Fields§
§value: f64The numeric value of the score
id: String§trace_id: Option<Option<String>>§session_id: Option<Option<String>>§observation_id: Option<Option<String>>§dataset_run_id: Option<Option<String>>§name: String§source: ScoreSource§timestamp: String§created_at: String§updated_at: String§comment: Option<Option<String>>§metadata: Option<Option<Value>>§config_id: Option<Option<String>>Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range
queue_id: Option<Option<String>>Reference an annotation queue on a score. Populated if the score was initially created in an annotation queue.
environment: Option<Option<String>>The environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with ‘langfuse’.
data_type: DataTypeImplementations§
Source§impl ScoreOneOf
impl ScoreOneOf
Trait Implementations§
Source§impl Clone for ScoreOneOf
impl Clone for ScoreOneOf
Source§fn clone(&self) -> ScoreOneOf
fn clone(&self) -> ScoreOneOf
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 ScoreOneOf
impl Debug for ScoreOneOf
Source§impl Default for ScoreOneOf
impl Default for ScoreOneOf
Source§fn default() -> ScoreOneOf
fn default() -> ScoreOneOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScoreOneOf
impl<'de> Deserialize<'de> for ScoreOneOf
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 ScoreOneOf
impl PartialEq for ScoreOneOf
Source§impl Serialize for ScoreOneOf
impl Serialize for ScoreOneOf
impl StructuralPartialEq for ScoreOneOf
Auto Trait Implementations§
impl Freeze for ScoreOneOf
impl RefUnwindSafe for ScoreOneOf
impl Send for ScoreOneOf
impl Sync for ScoreOneOf
impl Unpin for ScoreOneOf
impl UnwindSafe for ScoreOneOf
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