Struct k8s_openapi::v1_8::api::authorization::v1beta1::SubjectAccessReviewStatus[][src]

pub struct SubjectAccessReviewStatus {
    pub allowed: bool,
    pub evaluation_error: Option<String>,
    pub reason: Option<String>,
}

SubjectAccessReviewStatus

Fields

Allowed is required. True if the action would be allowed, false otherwise.

EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

Reason is optional. It indicates why a request was allowed or denied.

Trait Implementations

impl Clone for SubjectAccessReviewStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SubjectAccessReviewStatus
[src]

Formats the value using the given formatter. Read more

impl Default for SubjectAccessReviewStatus
[src]

Returns the "default value" for a type. Read more

impl PartialEq for SubjectAccessReviewStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for SubjectAccessReviewStatus
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations