Enum k8s_openapi::v1_10::api::networking::v1::PatchNetworkingV1NamespacedNetworkPolicyResponse [−][src]
pub enum PatchNetworkingV1NamespacedNetworkPolicyResponse {
Ok(NetworkPolicy),
Unauthorized,
Other,
}Parses the HTTP response of NetworkPolicy::patch_networking_v1_namespaced_network_policy
Variants
Ok(NetworkPolicy)Other
Trait Implementations
impl Debug for PatchNetworkingV1NamespacedNetworkPolicyResponse[src]
impl Debug for PatchNetworkingV1NamespacedNetworkPolicyResponsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Response for PatchNetworkingV1NamespacedNetworkPolicyResponse[src]
impl Response for PatchNetworkingV1NamespacedNetworkPolicyResponsefn 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.