Struct cargo_lambda_metadata::cargo::DeployConfig
source · pub struct DeployConfig {
pub memory: Option<Memory>,
pub timeout: Option<Timeout>,
pub env: HashMap<String, String>,
pub env_file: Option<PathBuf>,
pub tracing: Tracing,
pub iam_role: Option<String>,
pub layers: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
pub use_for_update: bool,
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
}Fields§
§memory: Option<Memory>§timeout: Option<Timeout>§env: HashMap<String, String>§env_file: Option<PathBuf>§tracing: Tracing§iam_role: Option<String>§layers: Option<Vec<String>>§use_for_update: bool§subnet_ids: Option<Vec<String>>§security_group_ids: Option<Vec<String>>Implementations§
source§impl DeployConfig
impl DeployConfig
pub fn lambda_environment(&self) -> Result<Environment>
pub fn extend_environment(&mut self, extra: Environment) -> Result<Environment>
Trait Implementations§
source§impl Clone for DeployConfig
impl Clone for DeployConfig
source§fn clone(&self) -> DeployConfig
fn clone(&self) -> DeployConfig
Returns a copy 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 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