Enum k8s_openapi::v1_10::api::authorization::v1::CreateAuthorizationV1SelfSubjectRulesReviewResponse [−][src]
pub enum CreateAuthorizationV1SelfSubjectRulesReviewResponse {
Ok(SelfSubjectRulesReview),
Created(SelfSubjectRulesReview),
Accepted(SelfSubjectRulesReview),
Unauthorized,
Other,
}Parses the HTTP response of SelfSubjectRulesReview::create_authorization_v1_self_subject_rules_review
Variants
Ok(SelfSubjectRulesReview)Created(SelfSubjectRulesReview)Accepted(SelfSubjectRulesReview)Other
Trait Implementations
impl Debug for CreateAuthorizationV1SelfSubjectRulesReviewResponse[src]
impl Debug for CreateAuthorizationV1SelfSubjectRulesReviewResponsefn 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 CreateAuthorizationV1SelfSubjectRulesReviewResponse[src]
impl Response for CreateAuthorizationV1SelfSubjectRulesReviewResponsefn 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.