pub struct ServiceExecutionEnvironment { /* private fields */ }Expand description
Explicit per-service allowlist and external execution providers.
Files apply after inline assignments, in declaration order; later files override earlier values, including empty overrides. Provider variables are never automatically forwarded to containers.
Implementations§
Source§impl ServiceExecutionEnvironment
impl ServiceExecutionEnvironment
Sourcepub fn new(
references: Vec<Sourced<ServiceEnvironmentName>>,
assignments: Vec<Sourced<ServiceEnvironmentAssignment>>,
files: Vec<Sourced<ServiceEnvironmentFile>>,
) -> Result<Self, ModelError>
pub fn new( references: Vec<Sourced<ServiceEnvironmentName>>, assignments: Vec<Sourced<ServiceEnvironmentAssignment>>, files: Vec<Sourced<ServiceEnvironmentFile>>, ) -> Result<Self, ModelError>
Creates a bounded plan with unique names and inline assignments covered by the allowlist.
§Errors
Returns a value-free error for duplicates, undeclared names, or size limits.
Sourcepub fn references(&self) -> &[Sourced<ServiceEnvironmentName>]
pub fn references(&self) -> &[Sourced<ServiceEnvironmentName>]
Returns declared reference names.
Sourcepub fn assignments(&self) -> &[Sourced<ServiceEnvironmentAssignment>]
pub fn assignments(&self) -> &[Sourced<ServiceEnvironmentAssignment>]
Returns inline assignments in declaration order.
Sourcepub fn files(&self) -> &[Sourced<ServiceEnvironmentFile>]
pub fn files(&self) -> &[Sourced<ServiceEnvironmentFile>]
Returns files in precedence order.
Trait Implementations§
Source§impl Clone for ServiceExecutionEnvironment
impl Clone for ServiceExecutionEnvironment
Source§impl Debug for ServiceExecutionEnvironment
impl Debug for ServiceExecutionEnvironment
impl Eq for ServiceExecutionEnvironment
impl StructuralPartialEq for ServiceExecutionEnvironment
Auto Trait Implementations§
impl Freeze for ServiceExecutionEnvironment
impl RefUnwindSafe for ServiceExecutionEnvironment
impl Send for ServiceExecutionEnvironment
impl Sync for ServiceExecutionEnvironment
impl Unpin for ServiceExecutionEnvironment
impl UnsafeUnpin for ServiceExecutionEnvironment
impl UnwindSafe for ServiceExecutionEnvironment
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