Enum k8s_openapi::v1_8::api::authentication::v1::CreateAuthenticationV1TokenReviewResponse [−][src]
pub enum CreateAuthenticationV1TokenReviewResponse {
Ok(TokenReview),
Unauthorized,
Other,
}Parses the HTTP response of TokenReview::create_authentication_v1_token_review
Variants
Ok(TokenReview)Other
Trait Implementations
impl Debug for CreateAuthenticationV1TokenReviewResponse[src]
impl Debug for CreateAuthenticationV1TokenReviewResponsefn 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 CreateAuthenticationV1TokenReviewResponse[src]
impl Response for CreateAuthenticationV1TokenReviewResponsefn 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.