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