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