Struct k8s_openapi::api::authorization::v1::NonResourceRule
source · pub struct NonResourceRule {
pub non_resource_urls: Option<Vec<String>>,
pub verbs: Vec<String>,
}
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 for NonResourceRule
impl PartialEq 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 ==
.source§impl Serialize for NonResourceRule
impl Serialize for NonResourceRule
impl StructuralPartialEq for NonResourceRule
Auto Trait Implementations§
impl RefUnwindSafe for NonResourceRule
impl Send for NonResourceRule
impl Sync for NonResourceRule
impl Unpin for NonResourceRule
impl UnwindSafe for NonResourceRule
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