pub struct RenamedKey {
pub former: &'static [&'static str],
pub path: &'static [&'static str],
pub env_var: Option<&'static str>,
}Expand description
A former name of a Datadog schema setting, from the schema’s renamed_from.
Fields§
§former: &'static [&'static str]The former nested path (for example, ["statsd_metric_blocklist"]).
path: &'static [&'static str]The nested path of the setting it was renamed to.
env_var: Option<&'static str>The environment variable derived from the former name, if the setting is read from the
environment. It is also in the setting’s EnvKey::env_vars.
Trait Implementations§
Source§impl Clone for RenamedKey
impl Clone for RenamedKey
Source§fn clone(&self) -> RenamedKey
fn clone(&self) -> RenamedKey
Returns a duplicate of the value. Read more
1.0.0 · 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 RenamedKey
impl Debug for RenamedKey
impl Copy for RenamedKey
Auto Trait Implementations§
impl Freeze for RenamedKey
impl RefUnwindSafe for RenamedKey
impl Send for RenamedKey
impl Sync for RenamedKey
impl Unpin for RenamedKey
impl UnsafeUnpin for RenamedKey
impl UnwindSafe for RenamedKey
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