pub struct LambdaAnnotations {
pub runtime: LambdaRuntime,
pub event_type: Option<LambdaEventType>,
pub cold_start_optimize: bool,
pub memory_size: u16,
pub architecture: Architecture,
pub pre_warm_paths: Vec<String>,
pub custom_serialization: bool,
pub batch_failure_reporting: bool,
pub timeout: Option<u16>,
pub tracing_enabled: bool,
pub environment_variables: Vec<(String, String)>,
}Fields§
§runtime: LambdaRuntime§event_type: Option<LambdaEventType>§cold_start_optimize: bool§memory_size: u16§architecture: Architecture§pre_warm_paths: Vec<String>§custom_serialization: bool§batch_failure_reporting: bool§timeout: Option<u16>§tracing_enabled: bool§environment_variables: Vec<(String, String)>Trait Implementations§
Source§impl Clone for LambdaAnnotations
impl Clone for LambdaAnnotations
Source§fn clone(&self) -> LambdaAnnotations
fn clone(&self) -> LambdaAnnotations
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 LambdaAnnotations
impl Debug for LambdaAnnotations
Source§impl Default for LambdaAnnotations
impl Default for LambdaAnnotations
Source§impl<'de> Deserialize<'de> for LambdaAnnotations
impl<'de> Deserialize<'de> for LambdaAnnotations
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
Source§impl PartialEq for LambdaAnnotations
impl PartialEq for LambdaAnnotations
Source§impl Serialize for LambdaAnnotations
impl Serialize for LambdaAnnotations
impl Eq for LambdaAnnotations
impl StructuralPartialEq for LambdaAnnotations
Auto Trait Implementations§
impl Freeze for LambdaAnnotations
impl RefUnwindSafe for LambdaAnnotations
impl Send for LambdaAnnotations
impl Sync for LambdaAnnotations
impl Unpin for LambdaAnnotations
impl UnwindSafe for LambdaAnnotations
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