[][src]Struct rusoto_kinesis::Consumer

pub struct Consumer {
    pub consumer_arn: String,
    pub consumer_creation_timestamp: f64,
    pub consumer_name: String,
    pub consumer_status: String,
}

An object that represents the details of the consumer you registered.

Fields

consumer_arn: String

When you register a consumer, Kinesis Data Streams generates an ARN for it. You need this ARN to be able to call SubscribeToShard.

If you delete a consumer and then create a new one with the same name, it won't have the same ARN. That's because consumer ARNs contain the creation timestamp. This is important to keep in mind if you have IAM policies that reference consumer ARNs.

consumer_creation_timestamp: f64

consumer_name: String

The name of the consumer is something you choose when you register the consumer.

consumer_status: String

A consumer can't read data while in the CREATING or DELETING states.

Trait Implementations

impl PartialEq<Consumer> for Consumer[src]

impl Default for Consumer[src]

impl Clone for Consumer[src]

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

Performs copy-assignment from source. Read more

impl Debug for Consumer[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<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> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T