MCPcopy Create free account
hub / github.com/ermak-dev/cloudpub / MaskedString

Class MaskedString

common/src/config.rs:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10/// Used to mask sensitive strings when logging
11#[derive(Serialize, Deserialize, Default, PartialEq, Eq, Clone)]
12pub struct MaskedString(pub String);
13
14impl Debug for MaskedString {
15 fn fmt(&self, f: &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error> {

Callers 3

parseMethod · 0.85
buildMethod · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected