shared::domain::ser

Function from_csv

Source
pub fn from_csv<'de, D, T>(deserializer: D) -> Result<Vec<T>, D::Error>
where D: Deserializer<'de>, T: DeserializeOwned,
Expand description

Deserializes a slice of hyphenated UUIDs into CSV format

ยงNote:

  • Algolia takes CSV format arrays: https://www.algolia.com/doc/rest-api/search/#arrays