Enum k8s_openapi::v1_10::api::authorization::v1::CreateAuthorizationV1NamespacedLocalSubjectAccessReviewResponse [−][src]
pub enum CreateAuthorizationV1NamespacedLocalSubjectAccessReviewResponse {
Ok(LocalSubjectAccessReview),
Created(LocalSubjectAccessReview),
Accepted(LocalSubjectAccessReview),
Unauthorized,
Other,
}Parses the HTTP response of LocalSubjectAccessReview::create_authorization_v1_namespaced_local_subject_access_review
Variants
Ok(LocalSubjectAccessReview)Created(LocalSubjectAccessReview)Accepted(LocalSubjectAccessReview)Other
Trait Implementations
impl Debug for CreateAuthorizationV1NamespacedLocalSubjectAccessReviewResponse[src]
impl Debug for CreateAuthorizationV1NamespacedLocalSubjectAccessReviewResponsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Response for CreateAuthorizationV1NamespacedLocalSubjectAccessReviewResponse[src]
impl Response for CreateAuthorizationV1NamespacedLocalSubjectAccessReviewResponsefn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>[src]
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>Tries to parse the response from the given status code and response body.