pub enum ReadCoreV1NamespacedResourceQuotaStatusResponse {
Ok(ResourceQuota),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of ResourceQuota::read_core_v1_namespaced_resource_quota_status
Variants§
Ok(ResourceQuota)
Other
Trait Implementations§
source§impl Response for ReadCoreV1NamespacedResourceQuotaStatusResponse
impl Response for ReadCoreV1NamespacedResourceQuotaStatusResponse
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.