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
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