Enum k8s_openapi::v1_8::GetAPIVersionsResponse [−][src]
pub enum GetAPIVersionsResponse { Ok(APIGroupList), Unauthorized, Other, }
Parses the HTTP response of get_api_versions
Variants
Ok(APIGroupList)
Other
Trait Implementations
impl Debug for GetAPIVersionsResponse
[src]
impl Debug for GetAPIVersionsResponse
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 GetAPIVersionsResponse
[src]
impl Response for GetAPIVersionsResponse
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.
Auto Trait Implementations
impl Send for GetAPIVersionsResponse
impl Send for GetAPIVersionsResponse
impl Sync for GetAPIVersionsResponse
impl Sync for GetAPIVersionsResponse