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