pub struct Variables<'a> { /* private fields */ }Expand description
A struct to store the variables
passed in the -v flag on the
CLI.
Implementations§
Source§impl<'a> Variables<'a>
impl<'a> Variables<'a>
Sourcepub fn parse_one(
&self,
reference_data: &BTreeMap<&'static str, Variable<'static>>,
) -> Result<String>
pub fn parse_one( &self, reference_data: &BTreeMap<&'static str, Variable<'static>>, ) -> Result<String>
Parse a single variable. Used in report until something more sophisticated is made.
Auto Trait Implementations§
impl<'a> Freeze for Variables<'a>
impl<'a> RefUnwindSafe for Variables<'a>
impl<'a> Send for Variables<'a>
impl<'a> Sync for Variables<'a>
impl<'a> Unpin for Variables<'a>
impl<'a> UnwindSafe for Variables<'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