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