Enum k8s_openapi::v1_10::api::authentication::v1beta1::CreateAuthenticationV1beta1TokenReviewResponse [−][src]
pub enum CreateAuthenticationV1beta1TokenReviewResponse {
Ok(TokenReview),
Created(TokenReview),
Accepted(TokenReview),
Unauthorized,
Other,
}Parses the HTTP response of TokenReview::create_authentication_v1beta1_token_review
Variants
Ok(TokenReview)Created(TokenReview)Accepted(TokenReview)Other
Trait Implementations
impl Debug for CreateAuthenticationV1beta1TokenReviewResponse[src]
impl Debug for CreateAuthenticationV1beta1TokenReviewResponsefn 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 CreateAuthenticationV1beta1TokenReviewResponse[src]
impl Response for CreateAuthenticationV1beta1TokenReviewResponsefn 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.