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