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