pub struct StealthScore {
pub overall: f32,
pub ai_probability: f32,
pub pattern_score: f32,
pub style_score: f32,
}Expand description
Stealth score for code
Fields§
§overall: f32Overall stealth score (0.0 = obviously AI, 1.0 = definitely human)
ai_probability: f32AI detection probability (inverse of stealth)
pattern_score: f32Pattern-based score
style_score: f32Style match score
Implementations§
Trait Implementations§
Source§impl Clone for StealthScore
impl Clone for StealthScore
Source§fn clone(&self) -> StealthScore
fn clone(&self) -> StealthScore
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 StealthScore
impl Debug for StealthScore
Source§impl<'de> Deserialize<'de> for StealthScore
impl<'de> Deserialize<'de> for StealthScore
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
Auto Trait Implementations§
impl Freeze for StealthScore
impl RefUnwindSafe for StealthScore
impl Send for StealthScore
impl Sync for StealthScore
impl Unpin for StealthScore
impl UnsafeUnpin for StealthScore
impl UnwindSafe for StealthScore
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