pub trait SecretGetExt {
// Required method
fn myself(&self) -> &Secret;
// Provided methods
fn type(&self) -> Option<&str> { ... }
fn data(&self) -> Option<&BTreeMap<String, ByteString>> { ... }
fn string_data(&self) -> Option<&BTreeMap<String, String>> { ... }
fn immutable(&self) -> Option<bool> { ... }
fn item(&self, key: &str) -> Option<&ByteString> { ... }
}Required Methods§
Provided Methods§
fn type(&self) -> Option<&str>
fn data(&self) -> Option<&BTreeMap<String, ByteString>>
fn string_data(&self) -> Option<&BTreeMap<String, String>>
fn immutable(&self) -> Option<bool>
fn item(&self, key: &str) -> Option<&ByteString>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".