pub struct BlockStabilityScore {
pub span_id: SpanId,
pub classification: StabilityClass,
pub score: f64,
pub confidence: f64,
pub observation_count: u32,
}Expand description
Stability analysis result for one prompt block.
Fields§
§span_id: SpanIdSpan identifier of the analyzed prompt block.
classification: StabilityClassStability bucket assigned to the block.
score: f64Effective stability score in the range [0.0, 1.0].
confidence: f64Confidence score in the range [0.0, 1.0].
observation_count: u32Number of observations that contained this block.
Trait Implementations§
Source§impl Clone for BlockStabilityScore
impl Clone for BlockStabilityScore
Source§fn clone(&self) -> BlockStabilityScore
fn clone(&self) -> BlockStabilityScore
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 BlockStabilityScore
impl Debug for BlockStabilityScore
Source§impl<'de> Deserialize<'de> for BlockStabilityScore
impl<'de> Deserialize<'de> for BlockStabilityScore
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 BlockStabilityScore
impl PartialEq for BlockStabilityScore
Source§fn eq(&self, other: &BlockStabilityScore) -> bool
fn eq(&self, other: &BlockStabilityScore) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BlockStabilityScore
impl Serialize for BlockStabilityScore
impl StructuralPartialEq for BlockStabilityScore
Auto Trait Implementations§
impl Freeze for BlockStabilityScore
impl RefUnwindSafe for BlockStabilityScore
impl Send for BlockStabilityScore
impl Sync for BlockStabilityScore
impl Unpin for BlockStabilityScore
impl UnsafeUnpin for BlockStabilityScore
impl UnwindSafe for BlockStabilityScore
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