pub struct UnquotedLine {
pub number: usize,
pub key: String,
pub value: String,
}Expand description
A .env line whose value holds unquoted spaces.
The shell implementation sources this file, so FOO=a b is not an
assignment at all: bash reads FOO=a as a prefix and then runs b.
The failure surfaces far from its cause - a command you never typed,
reported against the directory you happened to be in.
Fields§
§number: usize§key: String§value: StringTrait Implementations§
Source§impl Clone for UnquotedLine
impl Clone for UnquotedLine
Source§fn clone(&self) -> UnquotedLine
fn clone(&self) -> UnquotedLine
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 UnquotedLine
impl Debug for UnquotedLine
impl Eq for UnquotedLine
Source§impl PartialEq for UnquotedLine
impl PartialEq for UnquotedLine
impl StructuralPartialEq for UnquotedLine
Auto Trait Implementations§
impl Freeze for UnquotedLine
impl RefUnwindSafe for UnquotedLine
impl Send for UnquotedLine
impl Sync for UnquotedLine
impl Unpin for UnquotedLine
impl UnsafeUnpin for UnquotedLine
impl UnwindSafe for UnquotedLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.