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