Struct k8s_openapi::v1_8::api::authorization::v1::NonResourceRule[][src]

pub struct NonResourceRule {
    pub non_resource_urls: Option<Vec<String>>,
    pub verbs: Vec<String>,
}

NonResourceRule holds information that describes a rule for the non-resource

Fields

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.

Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.

Trait Implementations

impl Clone for NonResourceRule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NonResourceRule
[src]

Formats the value using the given formatter. Read more

impl Default for NonResourceRule
[src]

Returns the "default value" for a type. Read more

impl PartialEq for NonResourceRule
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for NonResourceRule
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for NonResourceRule
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations