[][src]Struct rusoto_kinesis::Record

pub struct Record {
    pub approximate_arrival_timestamp: Option<f64>,
    pub data: Vec<u8>,
    pub encryption_type: Option<String>,
    pub partition_key: String,
    pub sequence_number: String,
}

The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.

Fields

approximate_arrival_timestamp: Option<f64>

The approximate time that the record was inserted into the stream.

data: Vec<u8>

The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MB).

encryption_type: Option<String>

The encryption type used on the record. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.

  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

partition_key: String

Identifies which shard in the stream the data record is assigned to.

sequence_number: String

The unique identifier of the record within its shard.

Trait Implementations

impl PartialEq<Record> for Record[src]

impl Default for Record[src]

impl Clone for Record[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Record[src]

impl<'de> Deserialize<'de> for Record[src]

Auto Trait Implementations

impl Send for Record

impl Sync for Record

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self