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
sourceimpl Clone for NonResourceRule
impl Clone for NonResourceRule
sourcefn clone(&self) -> NonResourceRule
fn clone(&self) -> NonResourceRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NonResourceRule
impl Debug for NonResourceRule
sourceimpl DeepMerge for NonResourceRule
impl DeepMerge for NonResourceRule
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for NonResourceRule
impl Default for NonResourceRule
sourcefn default() -> NonResourceRule
fn default() -> NonResourceRule
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NonResourceRule
impl<'de> Deserialize<'de> for NonResourceRule
sourcefn 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
sourceimpl PartialEq<NonResourceRule> for NonResourceRule
impl PartialEq<NonResourceRule> for NonResourceRule
sourcefn 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 ==
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more