pub trait HasPropKind {
const PROP_KIND: PropKind;
// Provided method
fn display_secret_terminals() -> Vec<&'static str> { ... }
}Expand description
Maps Rust types to PropKind at compile time.
Scalars have explicit impls; the blanket impl catches everything
else as PropKind::Enum.
Required Associated Constants§
Provided Methods§
Sourcefn display_secret_terminals() -> Vec<&'static str>
fn display_secret_terminals() -> Vec<&'static str>
Terminal field names whose values must be redacted when this type is
displayed as an object/object-array prop. Most prop kinds have no
nested secret surface; Configurable object-array element types can
override this by delegating to their generated secret_field_terminals.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.