pub struct PrivacyAssessment { /* private fields */ }Expand description
A semantic assessment independent of lane selection and task retention.
Implementations§
Source§impl PrivacyAssessment
impl PrivacyAssessment
Sourcepub const fn reason_code(&self) -> &'static str
pub const fn reason_code(&self) -> &'static str
Returns a bounded category or failure reason, without request or provider text.
Sourcepub const fn clear_score(&self) -> Option<f64>
pub const fn clear_score(&self) -> Option<f64>
Returns the model’s clear-content score when the verdict is valid.
Sourcepub const fn has_sensitive_content(&self) -> bool
pub const fn has_sensitive_content(&self) -> bool
Reports an affirmative sensitive category; false also includes failures and is not clearance.
Auto Trait Implementations§
impl Freeze for PrivacyAssessment
impl RefUnwindSafe for PrivacyAssessment
impl Send for PrivacyAssessment
impl Sync for PrivacyAssessment
impl Unpin for PrivacyAssessment
impl UnsafeUnpin for PrivacyAssessment
impl UnwindSafe for PrivacyAssessment
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