(&self)
| 401 | impl FunctionDeployConfig { |
| 402 | #[allow(dead_code)] |
| 403 | fn is_empty(&self) -> bool { |
| 404 | self.runtime.is_none() |
| 405 | && self.memory.is_none() |
| 406 | && self.timeout.is_none() |
| 407 | && self.env_options.is_none() |
| 408 | && self.tracing.is_none() |
| 409 | && self.role.is_none() |
| 410 | && self.vpc.is_none() |
| 411 | && self.description.is_none() |
| 412 | && self.log_retention.is_none() |
| 413 | && self.layer.is_none() |
| 414 | && !self.disable_function_url |
| 415 | && !self.enable_function_url |
| 416 | } |
| 417 | |
| 418 | pub fn runtime(&self) -> String { |
| 419 | self.runtime.clone().unwrap_or_else(default_runtime) |
no outgoing calls
no test coverage detected