Struct k8s_openapi::api::authorization::v1::SelfSubjectAccessReviewSpec
source · pub struct SelfSubjectAccessReviewSpec {
pub non_resource_attributes: Option<NonResourceAttributes>,
pub resource_attributes: Option<ResourceAttributes>,
}
Expand description
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
Fields§
§non_resource_attributes: Option<NonResourceAttributes>
NonResourceAttributes describes information for a non-resource access request
resource_attributes: Option<ResourceAttributes>
ResourceAuthorizationAttributes describes information for a resource access request
Trait Implementations§
source§impl Clone for SelfSubjectAccessReviewSpec
impl Clone for SelfSubjectAccessReviewSpec
source§fn clone(&self) -> SelfSubjectAccessReviewSpec
fn clone(&self) -> SelfSubjectAccessReviewSpec
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 SelfSubjectAccessReviewSpec
impl Debug for SelfSubjectAccessReviewSpec
source§impl DeepMerge for SelfSubjectAccessReviewSpec
impl DeepMerge for SelfSubjectAccessReviewSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for SelfSubjectAccessReviewSpec
impl Default for SelfSubjectAccessReviewSpec
source§fn default() -> SelfSubjectAccessReviewSpec
fn default() -> SelfSubjectAccessReviewSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SelfSubjectAccessReviewSpec
impl<'de> Deserialize<'de> for SelfSubjectAccessReviewSpec
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 SelfSubjectAccessReviewSpec
impl PartialEq for SelfSubjectAccessReviewSpec
source§fn eq(&self, other: &SelfSubjectAccessReviewSpec) -> bool
fn eq(&self, other: &SelfSubjectAccessReviewSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelfSubjectAccessReviewSpec
Auto Trait Implementations§
impl Freeze for SelfSubjectAccessReviewSpec
impl RefUnwindSafe for SelfSubjectAccessReviewSpec
impl Send for SelfSubjectAccessReviewSpec
impl Sync for SelfSubjectAccessReviewSpec
impl Unpin for SelfSubjectAccessReviewSpec
impl UnwindSafe for SelfSubjectAccessReviewSpec
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