Struct k8s_openapi::api::authorization::v1::NonResourceAttributes
source · pub struct NonResourceAttributes {
pub path: Option<String>,
pub verb: Option<String>,
}
Expand description
NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
Fields§
§path: Option<String>
Path is the URL path of the request
verb: Option<String>
Verb is the standard HTTP verb
Trait Implementations§
source§impl Clone for NonResourceAttributes
impl Clone for NonResourceAttributes
source§fn clone(&self) -> NonResourceAttributes
fn clone(&self) -> NonResourceAttributes
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 NonResourceAttributes
impl Debug for NonResourceAttributes
source§impl DeepMerge for NonResourceAttributes
impl DeepMerge for NonResourceAttributes
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NonResourceAttributes
impl Default for NonResourceAttributes
source§fn default() -> NonResourceAttributes
fn default() -> NonResourceAttributes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NonResourceAttributes
impl<'de> Deserialize<'de> for NonResourceAttributes
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 NonResourceAttributes
impl PartialEq for NonResourceAttributes
source§fn eq(&self, other: &NonResourceAttributes) -> bool
fn eq(&self, other: &NonResourceAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NonResourceAttributes
impl Serialize for NonResourceAttributes
impl StructuralPartialEq for NonResourceAttributes
Auto Trait Implementations§
impl RefUnwindSafe for NonResourceAttributes
impl Send for NonResourceAttributes
impl Sync for NonResourceAttributes
impl Unpin for NonResourceAttributes
impl UnwindSafe for NonResourceAttributes
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