#[non_exhaustive]pub enum ResolvedEnvironmentOrigin {
File {
path: String,
source: SourceSpan,
},
Service {
syntax: EntrySyntax,
source: SourceSpan,
},
}Expand description
Where one final effective environment entry came from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
File
One caller-supplied environment file.
Service
The service’s explicit environment collection.
Fields
§
syntax: EntrySyntaxMapping, list key/value, or list key-only syntax.
§
source: SourceSpanEffective entry source span.
Trait Implementations§
Source§impl Clone for ResolvedEnvironmentOrigin
impl Clone for ResolvedEnvironmentOrigin
Source§fn clone(&self) -> ResolvedEnvironmentOrigin
fn clone(&self) -> ResolvedEnvironmentOrigin
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 ResolvedEnvironmentOrigin
impl Debug for ResolvedEnvironmentOrigin
impl Eq for ResolvedEnvironmentOrigin
impl StructuralPartialEq for ResolvedEnvironmentOrigin
Auto Trait Implementations§
impl Freeze for ResolvedEnvironmentOrigin
impl RefUnwindSafe for ResolvedEnvironmentOrigin
impl Send for ResolvedEnvironmentOrigin
impl Sync for ResolvedEnvironmentOrigin
impl Unpin for ResolvedEnvironmentOrigin
impl UnsafeUnpin for ResolvedEnvironmentOrigin
impl UnwindSafe for ResolvedEnvironmentOrigin
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