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