pub struct FormerName<'a> {
pub former: &'a str,
pub key: &'a str,
pub env_var: Option<String>,
}Expand description
A former name of a schema setting, from its renamed_from.
Fields§
§former: &'a strThe former dotted name.
key: &'a strThe dotted name of the setting.
env_var: Option<String>The environment variable derived from the former name, if the environment reader reads the
setting. It is also among the setting’s env_var_names.
Trait Implementations§
Source§impl<'a> Debug for FormerName<'a>
impl<'a> Debug for FormerName<'a>
Source§impl<'a> PartialEq for FormerName<'a>
impl<'a> PartialEq for FormerName<'a>
impl<'a> StructuralPartialEq for FormerName<'a>
Auto Trait Implementations§
impl<'a> Freeze for FormerName<'a>
impl<'a> RefUnwindSafe for FormerName<'a>
impl<'a> Send for FormerName<'a>
impl<'a> Sync for FormerName<'a>
impl<'a> Unpin for FormerName<'a>
impl<'a> UnsafeUnpin for FormerName<'a>
impl<'a> UnwindSafe for FormerName<'a>
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