Struct k8s_openapi::api::authorization::v1::NonResourceRule
source · Expand description
NonResourceRule holds information that describes a rule for the non-resource
Fields§
§non_resource_urls: Option<Vec<String>>
NonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. “” means all.
verbs: Vec<String>
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. “*” means all.
Trait Implementations§
source§impl Clone for NonResourceRule
impl Clone for NonResourceRule
source§fn clone(&self) -> NonResourceRule
fn clone(&self) -> NonResourceRule
Returns a copy 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 NonResourceRule
impl Debug for NonResourceRule
source§impl DeepMerge for NonResourceRule
impl DeepMerge for NonResourceRule
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NonResourceRule
impl Default for NonResourceRule
source§fn default() -> NonResourceRule
fn default() -> NonResourceRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NonResourceRule
impl<'de> Deserialize<'de> for NonResourceRule
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 PartialEq<NonResourceRule> for NonResourceRule
impl PartialEq<NonResourceRule> for NonResourceRule
source§fn eq(&self, other: &NonResourceRule) -> bool
fn eq(&self, other: &NonResourceRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.