#[non_exhaustive]pub struct LogsEvent {
pub aws_logs: AwsLogs,
pub other: Map<String, Value>,
}Available on crate feature
cloudwatch_logs only.Expand description
LogsEvent represents the raw event sent by CloudWatch
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aws_logs: AwsLogsaws_logs is gzipped and base64 encoded, it needs a custom deserializer
other: Map<String, Value>Available on crate feature
catch-all-fields only.Catchall to catch any additional fields that were present but not explicitly defined by this struct.
Enabled with Cargo feature catch-all-fields.
If catch-all-fields is disabled, any additional fields that are present will be ignored.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogsEvent
impl<'de> Deserialize<'de> for LogsEvent
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
impl Eq for LogsEvent
impl StructuralPartialEq for LogsEvent
Auto Trait Implementations§
impl Freeze for LogsEvent
impl RefUnwindSafe for LogsEvent
impl Send for LogsEvent
impl Sync for LogsEvent
impl Unpin for LogsEvent
impl UnwindSafe for LogsEvent
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