pub struct ConfigSecretItem {
pub key: String,
pub path: Option<String>,
pub name: String,
pub state: RedactionState,
pub source: Option<String>,
}Expand description
One secret-named config key in a ConfigSecretReport.
Fields§
§key: StringNatural key of the config-key node (cfgkey:<path>#<dotted>).
path: Option<String>Repository-relative path of the config file or Rust source it came from.
name: StringThe dotted key name (e.g. serve.api_token). Names only — no value is
carried here, by construction as much as by choice: the value in the store
is the redaction placeholder.
state: RedactionStateWhether the value was redacted, absent, or present.
source: Option<String>meta.source, when the node records one — struct for a key synthesised
from a @rto:config Rust struct. Absent for a file-derived key.
Trait Implementations§
Source§impl Clone for ConfigSecretItem
impl Clone for ConfigSecretItem
Source§fn clone(&self) -> ConfigSecretItem
fn clone(&self) -> ConfigSecretItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigSecretItem
impl Debug for ConfigSecretItem
Source§impl PartialEq for ConfigSecretItem
impl PartialEq for ConfigSecretItem
Source§impl Serialize for ConfigSecretItem
impl Serialize for ConfigSecretItem
impl StructuralPartialEq for ConfigSecretItem
Auto Trait Implementations§
impl Freeze for ConfigSecretItem
impl RefUnwindSafe for ConfigSecretItem
impl Send for ConfigSecretItem
impl Sync for ConfigSecretItem
impl Unpin for ConfigSecretItem
impl UnsafeUnpin for ConfigSecretItem
impl UnwindSafe for ConfigSecretItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more