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