pub struct ApplicabilityContextV1 {Show 21 fields
pub schema_version: String,
pub applicability_context_id: ApplicabilityContextId,
pub namespace: String,
pub scope_key: Option<ScopeKey>,
pub tenant_ref: Option<String>,
pub tenancy_class: Option<String>,
pub valid_as_of: String,
pub recorded_as_of: String,
pub target_surface_kind: String,
pub actor_class: String,
pub role_refs: Vec<String>,
pub deployment_profile_ref: Option<DeploymentProfileId>,
pub effect_policy_profile_ref: Option<EffectPolicyProfileId>,
pub delegation_policy_profile_ref: Option<DelegationPolicyProfileId>,
pub release_policy_profile_ref: Option<ReleasePolicyProfileId>,
pub continuity_policy_profile_ref: Option<ContinuityPolicyProfileId>,
pub effect_class: Option<String>,
pub incident_mode: Option<String>,
pub treaty_or_disclosure_class: Option<String>,
pub execution_context_ref: Option<String>,
pub admitted_exception_refs: Vec<ProfileExceptionBundleId>,
}Fields§
§schema_version: String§applicability_context_id: ApplicabilityContextId§namespace: String§scope_key: Option<ScopeKey>§tenant_ref: Option<String>§tenancy_class: Option<String>§valid_as_of: String§recorded_as_of: String§target_surface_kind: String§actor_class: String§role_refs: Vec<String>§deployment_profile_ref: Option<DeploymentProfileId>§effect_policy_profile_ref: Option<EffectPolicyProfileId>§delegation_policy_profile_ref: Option<DelegationPolicyProfileId>§release_policy_profile_ref: Option<ReleasePolicyProfileId>§continuity_policy_profile_ref: Option<ContinuityPolicyProfileId>§effect_class: Option<String>§incident_mode: Option<String>§treaty_or_disclosure_class: Option<String>§execution_context_ref: Option<String>§admitted_exception_refs: Vec<ProfileExceptionBundleId>Implementations§
Source§impl ApplicabilityContextV1
impl ApplicabilityContextV1
Sourcepub fn new(
namespace: impl Into<String>,
scope_key: Option<ScopeKey>,
valid_as_of: impl Into<String>,
recorded_as_of: impl Into<String>,
target_surface_kind: impl Into<String>,
actor_class: impl Into<String>,
role_refs: Vec<String>,
deployment_profile_ref: Option<DeploymentProfileId>,
effect_class: Option<String>,
incident_mode: Option<String>,
) -> Self
pub fn new( namespace: impl Into<String>, scope_key: Option<ScopeKey>, valid_as_of: impl Into<String>, recorded_as_of: impl Into<String>, target_surface_kind: impl Into<String>, actor_class: impl Into<String>, role_refs: Vec<String>, deployment_profile_ref: Option<DeploymentProfileId>, effect_class: Option<String>, incident_mode: Option<String>, ) -> Self
Creates the applicability context that anchors profile selection for one evaluation scope.
Trait Implementations§
Source§impl Clone for ApplicabilityContextV1
impl Clone for ApplicabilityContextV1
Source§fn clone(&self) -> ApplicabilityContextV1
fn clone(&self) -> ApplicabilityContextV1
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 ApplicabilityContextV1
impl Debug for ApplicabilityContextV1
Source§impl<'de> Deserialize<'de> for ApplicabilityContextV1
impl<'de> Deserialize<'de> for ApplicabilityContextV1
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
impl Eq for ApplicabilityContextV1
Source§impl JsonSchema for ApplicabilityContextV1
impl JsonSchema for ApplicabilityContextV1
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ApplicabilityContextV1
impl PartialEq for ApplicabilityContextV1
Source§fn eq(&self, other: &ApplicabilityContextV1) -> bool
fn eq(&self, other: &ApplicabilityContextV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApplicabilityContextV1
impl Serialize for ApplicabilityContextV1
impl StructuralPartialEq for ApplicabilityContextV1
Auto Trait Implementations§
impl Freeze for ApplicabilityContextV1
impl RefUnwindSafe for ApplicabilityContextV1
impl Send for ApplicabilityContextV1
impl Sync for ApplicabilityContextV1
impl Unpin for ApplicabilityContextV1
impl UnsafeUnpin for ApplicabilityContextV1
impl UnwindSafe for ApplicabilityContextV1
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