Enum k8s_openapi::api::policy::v1beta1::ReadPodSecurityPolicyResponse [−][src]
pub enum ReadPodSecurityPolicyResponse { Ok(PodSecurityPolicy), Other(Result<Option<Value>, Error>), }
Expand description
Use <ReadPodSecurityPolicyResponse as Response>::try_from_parts
to parse the HTTP response body of PodSecurityPolicy::read_pod_security_policy
Variants
Trait Implementations
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>
[src]Tries to parse the response from the given status code and response body. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ReadPodSecurityPolicyResponse
impl Send for ReadPodSecurityPolicyResponse
impl Sync for ReadPodSecurityPolicyResponse
impl Unpin for ReadPodSecurityPolicyResponse
impl !UnwindSafe for ReadPodSecurityPolicyResponse