in crates/iceberg/src/spec/datatypes.rs [170:183]
fn deserialize_fixed<'de, D>(deserializer: D) -> Result<PrimitiveType, D::Error>
where
D: Deserializer<'de>,
{
let fixed = String::deserialize(deserializer)?
.trim_start_matches(r"fixed[")
.trim_end_matches(']')
.to_owned();
fixed
.parse()
.map(PrimitiveType::Fixed)
.map_err(D::Error::custom)
}