[][src]Struct kineasy::Record

pub struct Record {
    pub approximate_arrival_timestamp: Option<f64>,
    pub data: Bytes,
    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: Bytes

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 Debug for Record[src]

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

impl Clone for Record[src]

impl Default for Record[src]

Auto Trait Implementations

impl Unpin for Record

impl Sync for Record

impl Send for Record

impl UnwindSafe for Record

impl RefUnwindSafe for Record

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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<T> for T

type Output = T

Should always be Self