[][src]Struct openshift_openapi::api::security::v1::PodSecurityPolicySelfSubjectReview

pub struct PodSecurityPolicySelfSubjectReview {
    pub spec: PodSecurityPolicySelfSubjectReviewSpec,
    pub status: Option<PodSecurityPolicySubjectReviewStatus>,
}

PodSecurityPolicySelfSubjectReview checks whether this user/SA tuple can create the PodTemplateSpec

Fields

spec: PodSecurityPolicySelfSubjectReviewSpec

spec defines specification the PodSecurityPolicySelfSubjectReview.

status: Option<PodSecurityPolicySubjectReviewStatus>

status represents the current information/status for the PodSecurityPolicySelfSubjectReview.

Implementations

impl PodSecurityPolicySelfSubjectReview[src]

pub fn create_namespaced_pod_security_policy_self_subject_review(
    namespace: &str,
    body: &PodSecurityPolicySelfSubjectReview,
    optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]

create a PodSecurityPolicySelfSubjectReview

Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.

Arguments

  • namespace

    object name and auth scope, such as for teams and projects

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

Trait Implementations

impl Clone for PodSecurityPolicySelfSubjectReview[src]

impl Debug for PodSecurityPolicySelfSubjectReview[src]

impl Default for PodSecurityPolicySelfSubjectReview[src]

impl<'de> Deserialize<'de> for PodSecurityPolicySelfSubjectReview[src]

impl PartialEq<PodSecurityPolicySelfSubjectReview> for PodSecurityPolicySelfSubjectReview[src]

impl Resource for PodSecurityPolicySelfSubjectReview[src]

impl Serialize for PodSecurityPolicySelfSubjectReview[src]

impl StructuralPartialEq for PodSecurityPolicySelfSubjectReview[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.