pub struct DeployConfigBuilder { /* private fields */ }
Expand description
デプロイ設定ビルダー
Implementations§
Source§impl DeployConfigBuilder
impl DeployConfigBuilder
pub fn new(name: String) -> Self
pub fn version(self, version: String) -> Self
pub fn description(self, description: String) -> Self
pub fn entry_point(self, entry_point: String) -> Self
pub fn runtime(self, runtime: RuntimeType) -> Self
pub fn environment(self, key: String, value: String) -> Self
pub fn build_command(self, command: String) -> Self
pub fn start_command(self, command: String) -> Self
pub fn min_instances(self, min: u32) -> Self
pub fn max_instances(self, max: u32) -> Self
pub fn domains(self, domains: Vec<String>) -> Self
pub fn build(self) -> DeployConfig
Trait Implementations§
Source§impl Clone for DeployConfigBuilder
impl Clone for DeployConfigBuilder
Source§fn clone(&self) -> DeployConfigBuilder
fn clone(&self) -> DeployConfigBuilder
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 moreAuto Trait Implementations§
impl Freeze for DeployConfigBuilder
impl RefUnwindSafe for DeployConfigBuilder
impl Send for DeployConfigBuilder
impl Sync for DeployConfigBuilder
impl Unpin for DeployConfigBuilder
impl UnwindSafe for DeployConfigBuilder
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