pub struct BooleanScoreV1 {Show 16 fields
pub id: String,
pub trace_id: String,
pub name: String,
pub source: ScoreSource,
pub observation_id: Option<Option<String>>,
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 value: f64,
pub string_value: String,
}Fields§
§id: String§trace_id: String§name: String§source: ScoreSource§observation_id: Option<Option<String>>§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>>The annotation queue referenced by the score. Indicates if score was initially created while processing 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’.
value: f64The numeric value of the score. Equals 1 for "True" and 0 for "False"
string_value: StringThe string representation of the score value. Is inferred from the numeric value and equals "True" or "False"
Implementations§
Source§impl BooleanScoreV1
impl BooleanScoreV1
Sourcepub fn builder() -> BooleanScoreV1Builder
pub fn builder() -> BooleanScoreV1Builder
Create an instance of BooleanScoreV1 using the builder syntax
Trait Implementations§
Source§impl Clone for BooleanScoreV1
impl Clone for BooleanScoreV1
Source§fn clone(&self) -> BooleanScoreV1
fn clone(&self) -> BooleanScoreV1
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BooleanScoreV1
impl Debug for BooleanScoreV1
Source§impl Default for BooleanScoreV1
impl Default for BooleanScoreV1
Source§fn default() -> BooleanScoreV1
fn default() -> BooleanScoreV1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BooleanScoreV1
impl<'de> Deserialize<'de> for BooleanScoreV1
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 BooleanScoreV1
impl PartialEq for BooleanScoreV1
Source§impl Serialize for BooleanScoreV1
impl Serialize for BooleanScoreV1
impl StructuralPartialEq for BooleanScoreV1
Auto Trait Implementations§
impl Freeze for BooleanScoreV1
impl RefUnwindSafe for BooleanScoreV1
impl Send for BooleanScoreV1
impl Sync for BooleanScoreV1
impl Unpin for BooleanScoreV1
impl UnwindSafe for BooleanScoreV1
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)