#[repr(transparent)]pub struct SCSensitivityAnalysisPolicy(pub NSInteger);Available on crate feature
SCSensitivityAnalyzer only.Expand description
SensitivityAnalysis Policy on device, represents type of interventions when enabled
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl SCSensitivityAnalysisPolicy
impl SCSensitivityAnalysisPolicy
Sourcepub const Disabled: Self
pub const Disabled: Self
No feature enabled that is requiring Sensitive Analysis on device, analysis will be disabled
Sourcepub const SimpleInterventions: Self
pub const SimpleInterventions: Self
Sensitive Analysis is enabled on device through “Sensitive Content Warning” in Settings. It is expected that brief/inline UI, like simple “show” button.
Sourcepub const DescriptiveInterventions: Self
pub const DescriptiveInterventions: Self
Sensitive Analysis is enabled for kids or teens in ScreenTime through “Communications Safety” feature. It’s expected to have more descriptive UI for the user, explaining potential risks.
Trait Implementations§
Source§impl Clone for SCSensitivityAnalysisPolicy
impl Clone for SCSensitivityAnalysisPolicy
Source§fn clone(&self) -> SCSensitivityAnalysisPolicy
fn clone(&self) -> SCSensitivityAnalysisPolicy
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 SCSensitivityAnalysisPolicy
impl Debug for SCSensitivityAnalysisPolicy
Source§impl Encode for SCSensitivityAnalysisPolicy
impl Encode for SCSensitivityAnalysisPolicy
Source§impl Hash for SCSensitivityAnalysisPolicy
impl Hash for SCSensitivityAnalysisPolicy
Source§impl Ord for SCSensitivityAnalysisPolicy
impl Ord for SCSensitivityAnalysisPolicy
Source§fn cmp(&self, other: &SCSensitivityAnalysisPolicy) -> Ordering
fn cmp(&self, other: &SCSensitivityAnalysisPolicy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SCSensitivityAnalysisPolicy
impl PartialOrd for SCSensitivityAnalysisPolicy
Source§impl RefEncode for SCSensitivityAnalysisPolicy
impl RefEncode for SCSensitivityAnalysisPolicy
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for SCSensitivityAnalysisPolicy
impl Eq for SCSensitivityAnalysisPolicy
impl StructuralPartialEq for SCSensitivityAnalysisPolicy
Auto Trait Implementations§
impl Freeze for SCSensitivityAnalysisPolicy
impl RefUnwindSafe for SCSensitivityAnalysisPolicy
impl Send for SCSensitivityAnalysisPolicy
impl Sync for SCSensitivityAnalysisPolicy
impl Unpin for SCSensitivityAnalysisPolicy
impl UnwindSafe for SCSensitivityAnalysisPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.