Enum k8s_openapi::v1_7::kubernetes::pkg::api::v1::CreateCoreV1NamespacedResourceQuotaResponse
source · pub enum CreateCoreV1NamespacedResourceQuotaResponse {
Ok(ResourceQuota),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of ResourceQuota::create_core_v1_namespaced_resource_quota
Variants§
Ok(ResourceQuota)
Other
Trait Implementations§
source§impl Response for CreateCoreV1NamespacedResourceQuotaResponse
impl Response for CreateCoreV1NamespacedResourceQuotaResponse
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.