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