pub enum Layer {
CatalogDefaults,
RevisionManifest,
Placement,
ClientEnv,
WorkspaceVars,
EnvironmentVars,
RevisionVars,
Source(String),
InstanceOverrides,
}Expand description
Where a variable’s value comes from, lowest precedence first. A higher layer overrides a
lower one, except over Placement, whose keys nothing overrides.
Variants§
CatalogDefaults
The catalog’s defaults (e.g. the in-stack development credentials).
RevisionManifest
What the revision’s manifest plans to (the plan’s injected environment).
Placement
The instance’s placement: reserved keys such as the compose project.
ClientEnv
How a client reaches the stack (the plan’s client environment).
WorkspaceVars
The workspace’s vars.
EnvironmentVars
The environment’s vars.
RevisionVars
The revision’s vars.
Source(String)
A source’s overlay, by source name.
InstanceOverrides
The instance’s overrides.
Trait Implementations§
impl Eq for Layer
Source§impl Ord for Layer
impl Ord for Layer
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Layer
impl PartialOrd for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Forget for Layer
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.