pub struct AuthzPolicyAuthzRulePrincipal {
pub principal: Option<AuthzPolicyAuthzRuleStringMatch>,
pub principal_selector: Option<String>,
}Expand description
Describes the properties of a principal to be matched against.
This type is not used in any activity, and only used as part of another schema.
Fields§
§principal: Option<AuthzPolicyAuthzRuleStringMatch>Required. A non-empty string whose value is matched against the principal value based on the principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN, CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors.
principal_selector: Option<String>Optional. An enum to decide what principal value the principal rule will match against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
Trait Implementations§
Source§impl Clone for AuthzPolicyAuthzRulePrincipal
impl Clone for AuthzPolicyAuthzRulePrincipal
Source§fn clone(&self) -> AuthzPolicyAuthzRulePrincipal
fn clone(&self) -> AuthzPolicyAuthzRulePrincipal
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 Default for AuthzPolicyAuthzRulePrincipal
impl Default for AuthzPolicyAuthzRulePrincipal
Source§fn default() -> AuthzPolicyAuthzRulePrincipal
fn default() -> AuthzPolicyAuthzRulePrincipal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthzPolicyAuthzRulePrincipal
impl<'de> Deserialize<'de> for AuthzPolicyAuthzRulePrincipal
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 Part for AuthzPolicyAuthzRulePrincipal
Auto Trait Implementations§
impl Freeze for AuthzPolicyAuthzRulePrincipal
impl RefUnwindSafe for AuthzPolicyAuthzRulePrincipal
impl Send for AuthzPolicyAuthzRulePrincipal
impl Sync for AuthzPolicyAuthzRulePrincipal
impl Unpin for AuthzPolicyAuthzRulePrincipal
impl UnwindSafe for AuthzPolicyAuthzRulePrincipal
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