pub struct Config {
pub endpoint: String,
pub function_name: String,
pub memory: i32,
pub version: String,
pub log_stream: String,
pub log_group: String,
}Expand description
Configuration derived from environment variables.
Fields§
§endpoint: StringThe host and port of the runtime API.
function_name: StringThe name of the function.
memory: i32The amount of memory available to the function in MB.
version: StringThe version of the function being executed.
log_stream: StringThe name of the Amazon CloudWatch Logs stream for the function.
log_group: StringThe name of the Amazon CloudWatch Logs group for the function.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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