Struct k8s_openapi::api::authorization::v1::SelfSubjectRulesReviewSpec
source · pub struct SelfSubjectRulesReviewSpec {
pub namespace: Option<String>,
}
Expand description
SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.
Fields§
§namespace: Option<String>
Namespace to evaluate rules for. Required.
Trait Implementations§
source§impl Clone for SelfSubjectRulesReviewSpec
impl Clone for SelfSubjectRulesReviewSpec
source§fn clone(&self) -> SelfSubjectRulesReviewSpec
fn clone(&self) -> SelfSubjectRulesReviewSpec
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 SelfSubjectRulesReviewSpec
impl Debug for SelfSubjectRulesReviewSpec
source§impl DeepMerge for SelfSubjectRulesReviewSpec
impl DeepMerge for SelfSubjectRulesReviewSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for SelfSubjectRulesReviewSpec
impl Default for SelfSubjectRulesReviewSpec
source§fn default() -> SelfSubjectRulesReviewSpec
fn default() -> SelfSubjectRulesReviewSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SelfSubjectRulesReviewSpec
impl<'de> Deserialize<'de> for SelfSubjectRulesReviewSpec
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 SelfSubjectRulesReviewSpec
impl PartialEq for SelfSubjectRulesReviewSpec
source§fn eq(&self, other: &SelfSubjectRulesReviewSpec) -> bool
fn eq(&self, other: &SelfSubjectRulesReviewSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelfSubjectRulesReviewSpec
Auto Trait Implementations§
impl RefUnwindSafe for SelfSubjectRulesReviewSpec
impl Send for SelfSubjectRulesReviewSpec
impl Sync for SelfSubjectRulesReviewSpec
impl Unpin for SelfSubjectRulesReviewSpec
impl UnwindSafe for SelfSubjectRulesReviewSpec
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