Enum k8s_openapi::v1_10::api::networking::v1::DeleteNetworkingV1NamespacedNetworkPolicyResponse
source · pub enum DeleteNetworkingV1NamespacedNetworkPolicyResponse {
OkStatus(Status),
OkValue(NetworkPolicy),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of NetworkPolicy::delete_networking_v1_namespaced_network_policy
Variants§
Trait Implementations§
source§impl Response for DeleteNetworkingV1NamespacedNetworkPolicyResponse
impl Response for DeleteNetworkingV1NamespacedNetworkPolicyResponse
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.