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
sourceimpl Clone for SelfSubjectAccessReviewSpec
impl Clone for SelfSubjectAccessReviewSpec
sourcefn clone(&self) -> SelfSubjectAccessReviewSpec
fn clone(&self) -> SelfSubjectAccessReviewSpec
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 SelfSubjectAccessReviewSpec
impl Debug for SelfSubjectAccessReviewSpec
sourceimpl Default for SelfSubjectAccessReviewSpec
impl Default for SelfSubjectAccessReviewSpec
sourcefn default() -> SelfSubjectAccessReviewSpec
fn default() -> SelfSubjectAccessReviewSpec
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SelfSubjectAccessReviewSpec
impl<'de> Deserialize<'de> for SelfSubjectAccessReviewSpec
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<SelfSubjectAccessReviewSpec> for SelfSubjectAccessReviewSpec
impl PartialEq<SelfSubjectAccessReviewSpec> for SelfSubjectAccessReviewSpec
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SelfSubjectAccessReviewSpec) -> bool
fn ne(&self, other: &SelfSubjectAccessReviewSpec) -> bool
This method tests for !=
.
impl StructuralPartialEq for SelfSubjectAccessReviewSpec
Auto Trait Implementations
impl RefUnwindSafe for SelfSubjectAccessReviewSpec
impl Send for SelfSubjectAccessReviewSpec
impl Sync for SelfSubjectAccessReviewSpec
impl Unpin for SelfSubjectAccessReviewSpec
impl UnwindSafe for SelfSubjectAccessReviewSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more