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