pub enum ReadCoreV1NamespacedServiceStatusResponse {
Ok(Service),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of Service::read_core_v1_namespaced_service_status
Variants§
Trait Implementations§
source§impl Response for ReadCoreV1NamespacedServiceStatusResponse
impl Response for ReadCoreV1NamespacedServiceStatusResponse
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.