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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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: SelfSubjectAccessReviewSpec)
fn merge_from(&mut self, other: SelfSubjectAccessReviewSpec)
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<SelfSubjectAccessReviewSpec, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SelfSubjectAccessReviewSpec, <D as Deserializer<'de>>::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
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for SelfSubjectAccessReviewSpec
impl Serialize for SelfSubjectAccessReviewSpec
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. 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