Struct dockerfile_parser::EnvVar
source · [−]pub struct EnvVar {
pub span: Span,
pub key: SpannedString,
pub value: BreakableString,
}Expand description
An environment variable key/value pair
Fields
span: Spankey: SpannedStringvalue: BreakableStringImplementations
sourceimpl EnvVar
impl EnvVar
pub fn new(
span: Span,
key: SpannedString,
value: impl Into<BreakableString>
) -> Self
Trait Implementations
impl Eq for EnvVar
impl StructuralEq for EnvVar
impl StructuralPartialEq for EnvVar
Auto Trait Implementations
impl RefUnwindSafe for EnvVar
impl Send for EnvVar
impl Sync for EnvVar
impl Unpin for EnvVar
impl UnwindSafe for EnvVar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more