Skip to main content

AppStoreRule

Trait AppStoreRule 

Source
pub trait AppStoreRule: Send + Sync {
    // Required methods
    fn id(&self) -> &'static str;
    fn name(&self) -> &'static str;
    fn category(&self) -> RuleCategory;
    fn severity(&self) -> Severity;
    fn recommendation(&self) -> &'static str;
    fn evaluate(
        &self,
        artifact: &ArtifactContext<'_>,
    ) -> Result<RuleReport, RuleError>;
}

Required Methods§

Source

fn id(&self) -> &'static str

Source

fn name(&self) -> &'static str

Source

fn category(&self) -> RuleCategory

Source

fn severity(&self) -> Severity

Source

fn recommendation(&self) -> &'static str

Source

fn evaluate( &self, artifact: &ArtifactContext<'_>, ) -> Result<RuleReport, RuleError>

Implementors§

Source§

impl AppStoreRule for AppIconAlphaRule

Source§

impl AppStoreRule for AtsAuditRule

Source§

impl AppStoreRule for AtsExceptionsGranularityRule

Source§

impl AppStoreRule for BinaryStrippingRule

Source§

impl AppStoreRule for BitcodeRule

Source§

impl AppStoreRule for BundleResourceLeakageRule

Source§

impl AppStoreRule for BundleMetadataConsistencyRule

Source§

impl AppStoreRule for DeprecatedApiRule

Source§

impl AppStoreRule for EntitlementsMismatchRule

Source§

impl AppStoreRule for EntitlementsProvisioningMismatchRule

Source§

impl AppStoreRule for ExportComplianceRule

Source§

impl AppStoreRule for ExtensionEntitlementsCompatibilityRule

Source§

impl AppStoreRule for InfoPlistCapabilitiesRule

Source§

impl AppStoreRule for InfoPlistRequiredKeysRule

Source§

impl AppStoreRule for InfoPlistVersionConsistencyRule

Source§

impl AppStoreRule for LSApplicationQueriesSchemesAuditRule

Source§

impl AppStoreRule for UIRequiredDeviceCapabilitiesAuditRule

Source§

impl AppStoreRule for UsageDescriptionsRule

Source§

impl AppStoreRule for UsageDescriptionsValueRule

Source§

impl AppStoreRule for LaunchScreenStoryboardRule

Source§

impl AppStoreRule for NestedBundleDebugEntitlementRule

Source§

impl AppStoreRule for NestedBundleEntitlementsRule

Source§

impl AppStoreRule for OSVersionConsistencyRule

Source§

impl AppStoreRule for CameraUsageDescriptionRule

Source§

impl AppStoreRule for MissingPrivacyManifestRule

Source§

impl AppStoreRule for PrivacyManifestCompletenessRule

Source§

impl AppStoreRule for PrivacyManifestSdkCrossCheckRule

Source§

impl AppStoreRule for PrivateApiRule

Source§

impl AppStoreRule for EmbeddedCodeSignatureTeamRule

Source§

impl AppStoreRule for XcodeVersionRule