mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 18:49:11 +03:00
10 lines
314 B
Rust
10 lines
314 B
Rust
|
pub mod secret;
|
||
|
pub mod sensitive;
|
||
|
|
||
|
/// A type to clearly mark sensitive information using the type-system. As such, it should
|
||
|
///
|
||
|
/// * *not* be logged
|
||
|
/// * *not* be stored in plain text
|
||
|
/// * *not* be presented in any way unless the user explicitly confirmed it to be displayed.
|
||
|
pub struct Sensitive<T>(pub T);
|