Module secret

Module secret 

Source
Expand description

This module defines the Secret type for handling sensitive information like API keys. It wraps a string and ensures that the secret is not accidentally exposed in debug output or logs.

Modules§

exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module ::prelude :: *.

Structs§

Secret
Represents a secret string, such as an API key. It wraps secrecy::SecretString to prevent accidental exposure.