Skip to main content

Module change_id

Module change_id 

Source

Re-exportsยง

use serde::Deserialize; ๐Ÿ”’
use serde::Deserializer; ๐Ÿ”’
use serde_derive::Deserialize; ๐Ÿ”’

Structsยง

ChangeIdWrapper ๐Ÿ”’
Since we use #[serde(deny_unknown_fields)] on TomlConfig, we need a wrapper type for the โ€œchange-idโ€ field to parse it even if other fields are invalid. This ensures that if deserialization fails due to other fields, we can still provide the changelogs to allow developers to potentially find the reason for the failure in the logs..

Enumsยง

ChangeId
This enum is used for deserializing change IDs from TOML, allowing both numeric values and the string "ignore".

Functionsยง

deserialize_change_id ๐Ÿ”’