Enum k8s_openapi::v1_12::api::core::v1::ReadCoreV1ComponentStatusResponse
source · pub enum ReadCoreV1ComponentStatusResponse {
Ok(ComponentStatus),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of ComponentStatus::read_core_v1_component_status
Variants§
Ok(ComponentStatus)
Other
Trait Implementations§
source§impl Response for ReadCoreV1ComponentStatusResponse
impl Response for ReadCoreV1ComponentStatusResponse
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.