pub struct AuthzPolicyAuthzRule {
pub from: Option<AuthzPolicyAuthzRuleFrom>,
pub to: Option<AuthzPolicyAuthzRuleTo>,
pub when: Option<String>,
}Expand description
Conditions to match against the incoming request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§from: Option<AuthzPolicyAuthzRuleFrom>Optional. Describes properties of a source of a request.
to: Option<AuthzPolicyAuthzRuleTo>Optional. Describes properties of a target of a request.
when: Option<String>Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.
Trait Implementations§
Source§impl Clone for AuthzPolicyAuthzRule
impl Clone for AuthzPolicyAuthzRule
Source§fn clone(&self) -> AuthzPolicyAuthzRule
fn clone(&self) -> AuthzPolicyAuthzRule
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 AuthzPolicyAuthzRule
impl Debug for AuthzPolicyAuthzRule
Source§impl Default for AuthzPolicyAuthzRule
impl Default for AuthzPolicyAuthzRule
Source§fn default() -> AuthzPolicyAuthzRule
fn default() -> AuthzPolicyAuthzRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthzPolicyAuthzRule
impl<'de> Deserialize<'de> for AuthzPolicyAuthzRule
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
Source§impl Serialize for AuthzPolicyAuthzRule
impl Serialize for AuthzPolicyAuthzRule
impl Part for AuthzPolicyAuthzRule
Auto Trait Implementations§
impl Freeze for AuthzPolicyAuthzRule
impl RefUnwindSafe for AuthzPolicyAuthzRule
impl Send for AuthzPolicyAuthzRule
impl Sync for AuthzPolicyAuthzRule
impl Unpin for AuthzPolicyAuthzRule
impl UnwindSafe for AuthzPolicyAuthzRule
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