Enum k8s_openapi::v1_11::api::authentication::v1::CreateAuthenticationV1TokenReviewResponse [−][src]
pub enum CreateAuthenticationV1TokenReviewResponse { Ok(TokenReview), Created(TokenReview), Accepted(TokenReview), Unauthorized, Other, }
Parses the HTTP response of TokenReview::create_authentication_v1_token_review
Variants
Ok(TokenReview)
Created(TokenReview)
Accepted(TokenReview)
Other
Trait Implementations
impl Debug for CreateAuthenticationV1TokenReviewResponse
[src]
impl Debug for CreateAuthenticationV1TokenReviewResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Response for CreateAuthenticationV1TokenReviewResponse
[src]
impl Response for CreateAuthenticationV1TokenReviewResponse
fn 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.