Enum k8s_openapi::v1_12::api::authentication::v1beta1::CreateAuthenticationV1beta1TokenReviewResponse
source · pub enum CreateAuthenticationV1beta1TokenReviewResponse {
Ok(TokenReview),
Created(TokenReview),
Accepted(TokenReview),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of TokenReview::create_authentication_v1beta1_token_review
Variants§
Trait Implementations§
source§impl Response for CreateAuthenticationV1beta1TokenReviewResponse
impl Response for CreateAuthenticationV1beta1TokenReviewResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
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.