pub struct DeployConfig {
pub target: Option<String>,
pub replicas: Option<u32>,
pub environment: HashMap<String, String>,
}Expand description
Deployment configuration
Fields§
§target: Option<String>§replicas: Option<u32>§environment: HashMap<String, String>Trait Implementations§
Source§impl Clone for DeployConfig
impl Clone for DeployConfig
Source§fn clone(&self) -> DeployConfig
fn clone(&self) -> DeployConfig
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 DeployConfig
impl Debug for DeployConfig
Source§impl Default for DeployConfig
impl Default for DeployConfig
Source§fn default() -> DeployConfig
fn default() -> DeployConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeployConfig
impl<'de> Deserialize<'de> for DeployConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeployConfig
impl RefUnwindSafe for DeployConfig
impl Send for DeployConfig
impl Sync for DeployConfig
impl Unpin for DeployConfig
impl UnwindSafe for DeployConfig
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