Enum k8s_openapi::v1_8::api::scheduling::v1alpha1::CreateSchedulingV1alpha1PriorityClassResponse [−][src]
pub enum CreateSchedulingV1alpha1PriorityClassResponse { Ok(PriorityClass), Unauthorized, Other, }
Parses the HTTP response of PriorityClass::create_scheduling_v1alpha1_priority_class
Variants
Ok(PriorityClass)
Other
Trait Implementations
impl Debug for CreateSchedulingV1alpha1PriorityClassResponse
[src]
impl Debug for CreateSchedulingV1alpha1PriorityClassResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Response for CreateSchedulingV1alpha1PriorityClassResponse
[src]
impl Response for CreateSchedulingV1alpha1PriorityClassResponse
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
[src]
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.