You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: shape_get_key_group_output.rs
    path of file: ./repos/aws-sdk-rust/sdk/cloudfront/src/protocol_serde
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn de_e_tag_header(
    header_map: &::aws_smithy_runtime_api::http::Headers,
) -> ::std
    
pub fn de_key_group(inp: &[u8]) -> Result<crate::types::KeyGroup, ::aws_smithy_xml::decode::XmlDecodeError> {
    let mut doc = ::aws_smithy_xml::decode::Document::try_from(inp)?;
    #[allow(unused_mut)]
    let mut decoder = doc.root_element()?;
    let start_el = decoder.start_el();
    if !(start_el.matches("KeyGroup")) {
        return Err(::aws_smithy_xml::decode::XmlDecodeError::custom(format!(
            "invalid root, expected KeyGroup got {:?}",
            start_el
        )));
    }
    crate::protocol_serde::shape_key_group::de_key_group(&mut decoder)
}