pub struct AffixesV1<'data> {
pub prefix: Cow<'data, str>,
pub suffix: Cow<'data, str>,
}
Expand description
A collection of strings to affix to a decimal number.
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Fields§
§prefix: Cow<'data, str>
String to prepend before the decimal number.
suffix: Cow<'data, str>
String to append after the decimal number.
Trait Implementations§
source§impl<'de, 'data> Deserialize<'de> for AffixesV1<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for AffixesV1<'data>where 'de: 'data,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AffixesV1<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AffixesV1<'data>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more