#[non_exhaustive]pub enum DeploymentSource {
SourceCodeSpec(Box<SourceCodeSpec>),
}Available on crate feature
reasoning-engine-service only.Expand description
Defines the source for the deployment.
The package_spec field should not be set if deployment_source is
specified.
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.
SourceCodeSpec(Box<SourceCodeSpec>)
Deploy from source code files with a defined entrypoint.
Trait Implementations§
Source§impl Clone for DeploymentSource
impl Clone for DeploymentSource
Source§fn clone(&self) -> DeploymentSource
fn clone(&self) -> DeploymentSource
Returns a duplicate of the value. Read more
1.0.0 · 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 DeploymentSource
impl Debug for DeploymentSource
Source§impl PartialEq for DeploymentSource
impl PartialEq for DeploymentSource
impl StructuralPartialEq for DeploymentSource
Auto Trait Implementations§
impl Freeze for DeploymentSource
impl RefUnwindSafe for DeploymentSource
impl Send for DeploymentSource
impl Sync for DeploymentSource
impl Unpin for DeploymentSource
impl UnwindSafe for DeploymentSource
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