pub struct AuthzPolicyAuthzRuleFrom {
pub not_sources: Option<Vec<AuthzPolicyAuthzRuleFromRequestSource>>,
pub sources: Option<Vec<AuthzPolicyAuthzRuleFromRequestSource>>,
}Expand description
Describes properties of one or more sources of a request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§not_sources: Option<Vec<AuthzPolicyAuthzRuleFromRequestSource>>Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.
sources: Option<Vec<AuthzPolicyAuthzRuleFromRequestSource>>Optional. Describes the properties of a request’s sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.
Trait Implementations§
Source§impl Clone for AuthzPolicyAuthzRuleFrom
impl Clone for AuthzPolicyAuthzRuleFrom
Source§fn clone(&self) -> AuthzPolicyAuthzRuleFrom
fn clone(&self) -> AuthzPolicyAuthzRuleFrom
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 AuthzPolicyAuthzRuleFrom
impl Debug for AuthzPolicyAuthzRuleFrom
Source§impl Default for AuthzPolicyAuthzRuleFrom
impl Default for AuthzPolicyAuthzRuleFrom
Source§fn default() -> AuthzPolicyAuthzRuleFrom
fn default() -> AuthzPolicyAuthzRuleFrom
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthzPolicyAuthzRuleFrom
impl<'de> Deserialize<'de> for AuthzPolicyAuthzRuleFrom
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 AuthzPolicyAuthzRuleFrom
impl Serialize for AuthzPolicyAuthzRuleFrom
impl Part for AuthzPolicyAuthzRuleFrom
Auto Trait Implementations§
impl Freeze for AuthzPolicyAuthzRuleFrom
impl RefUnwindSafe for AuthzPolicyAuthzRuleFrom
impl Send for AuthzPolicyAuthzRuleFrom
impl Sync for AuthzPolicyAuthzRuleFrom
impl Unpin for AuthzPolicyAuthzRuleFrom
impl UnwindSafe for AuthzPolicyAuthzRuleFrom
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