pub struct AuthzPolicyAuthzRuleHeaderMatch {
pub name: Option<String>,
pub value: Option<AuthzPolicyAuthzRuleStringMatch>,
}Expand description
Determines how a HTTP header should be matched.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>Optional. Specifies the name of the header in the request.
value: Option<AuthzPolicyAuthzRuleStringMatch>Optional. Specifies how the header match will be performed.
Trait Implementations§
Source§impl Clone for AuthzPolicyAuthzRuleHeaderMatch
impl Clone for AuthzPolicyAuthzRuleHeaderMatch
Source§fn clone(&self) -> AuthzPolicyAuthzRuleHeaderMatch
fn clone(&self) -> AuthzPolicyAuthzRuleHeaderMatch
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 AuthzPolicyAuthzRuleHeaderMatch
impl Default for AuthzPolicyAuthzRuleHeaderMatch
Source§fn default() -> AuthzPolicyAuthzRuleHeaderMatch
fn default() -> AuthzPolicyAuthzRuleHeaderMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthzPolicyAuthzRuleHeaderMatch
impl<'de> Deserialize<'de> for AuthzPolicyAuthzRuleHeaderMatch
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 AuthzPolicyAuthzRuleHeaderMatch
Auto Trait Implementations§
impl Freeze for AuthzPolicyAuthzRuleHeaderMatch
impl RefUnwindSafe for AuthzPolicyAuthzRuleHeaderMatch
impl Send for AuthzPolicyAuthzRuleHeaderMatch
impl Sync for AuthzPolicyAuthzRuleHeaderMatch
impl Unpin for AuthzPolicyAuthzRuleHeaderMatch
impl UnwindSafe for AuthzPolicyAuthzRuleHeaderMatch
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