// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_client_credentials_grant_details(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::ClientCredentialsGrantDetails,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("ClientId").string(input.client_id.as_str());
}
{
object.key("ClientSecret").string(input.client_secret.as_str());
}
{
object.key("TokenEndpoint").string(input.token_endpoint.as_str());
}
Ok(())
}