| Crates.io | jdt_maybe_multiple |
| lib.rs | jdt_maybe_multiple |
| version | 0.1.6 |
| created_at | 2025-01-01 00:08:16.993429+00 |
| updated_at | 2025-06-26 00:10:46.941305+00 |
| description | MaybeMultiple is a utility crate that establishes an enum to use in place of `Option` where the content may be singular, multiple, or None |
| homepage | |
| repository | https://gitlab.com/justindthomas/maybe_multiple |
| max_upload_size | |
| id | 1500466 |
| size | 12,533 |
This is a utility crate that establishes an enum to use in place of Option where the content may be singular, multiple (a Vec) or None. It is particularly useful in situations where a JSON object is being deserialized and may take these types of forms:
"https://example.com/id/uuid"
["https://example.com/id/uuid1", "https://example.com/id/uuid2"]
null
These would all match to MaybeMultiple