Enum k8s_openapi::v1_10::api::networking::v1::CreateNetworkingV1NamespacedNetworkPolicyResponse [−][src]
pub enum CreateNetworkingV1NamespacedNetworkPolicyResponse {
Ok(NetworkPolicy),
Created(NetworkPolicy),
Accepted(NetworkPolicy),
Unauthorized,
Other,
}Parses the HTTP response of NetworkPolicy::create_networking_v1_namespaced_network_policy
Variants
Ok(NetworkPolicy)Created(NetworkPolicy)Accepted(NetworkPolicy)Other
Trait Implementations
impl Debug for CreateNetworkingV1NamespacedNetworkPolicyResponse[src]
impl Debug for CreateNetworkingV1NamespacedNetworkPolicyResponsefn 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 CreateNetworkingV1NamespacedNetworkPolicyResponse[src]
impl Response for CreateNetworkingV1NamespacedNetworkPolicyResponsefn 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.