Enum k8s_openapi::v1_9::api::core::v1::PatchCoreV1NamespacedSecretResponse
source · pub enum PatchCoreV1NamespacedSecretResponse {
Ok(Secret),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of Secret::patch_core_v1_namespaced_secret
Variants§
Trait Implementations§
source§impl Response for PatchCoreV1NamespacedSecretResponse
impl Response for PatchCoreV1NamespacedSecretResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
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.