Struct aws_sdk_iot::types::KafkaActionHeader
source · #[non_exhaustive]pub struct KafkaActionHeader {
pub key: String,
pub value: String,
}
Expand description
Specifies a Kafka header using key-value pairs when you create a Rule’s Kafka Action. You can use these headers to route data from IoT clients to downstream Kafka clusters without modifying your message payload.
For more information about Rule's Kafka action, see Apache Kafka.
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.key: String
The key of the Kafka header.
value: String
The value of the Kafka header.
Implementations§
source§impl KafkaActionHeader
impl KafkaActionHeader
sourcepub fn builder() -> KafkaActionHeaderBuilder
pub fn builder() -> KafkaActionHeaderBuilder
Creates a new builder-style object to manufacture KafkaActionHeader
.
Trait Implementations§
source§impl Clone for KafkaActionHeader
impl Clone for KafkaActionHeader
source§fn clone(&self) -> KafkaActionHeader
fn clone(&self) -> KafkaActionHeader
Returns a copy 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 KafkaActionHeader
impl Debug for KafkaActionHeader
source§impl PartialEq for KafkaActionHeader
impl PartialEq for KafkaActionHeader
source§fn eq(&self, other: &KafkaActionHeader) -> bool
fn eq(&self, other: &KafkaActionHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KafkaActionHeader
Auto Trait Implementations§
impl Freeze for KafkaActionHeader
impl RefUnwindSafe for KafkaActionHeader
impl Send for KafkaActionHeader
impl Sync for KafkaActionHeader
impl Unpin for KafkaActionHeader
impl UnwindSafe for KafkaActionHeader
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.