Struct relay_aws_extension::ShutdownResponse
source · pub struct ShutdownResponse {
pub shutdown_reason: String,
pub deadline_ms: u64,
}
Expand description
Response received from the next event API on a SHUTDOWN
event.
See Shutdown Phase for more information.
§Example
{
"eventType": "SHUTDOWN",
"shutdownReason": "TIMEOUT",
"deadlineMs": 42069
}
Fields§
§shutdown_reason: String
The reason for the shutdown.
deadline_ms: u64
The time and date when the lambda function times out in Unix time milliseconds.
Trait Implementations§
source§impl Debug for ShutdownResponse
impl Debug for ShutdownResponse
source§impl<'de> Deserialize<'de> for ShutdownResponse
impl<'de> Deserialize<'de> for ShutdownResponse
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 ShutdownResponse
impl Send for ShutdownResponse
impl Sync for ShutdownResponse
impl Unpin for ShutdownResponse
impl UnwindSafe for ShutdownResponse
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