[−][src]Struct rusoto_kinesis::SubscribeToShardEvent
After you call SubscribeToShard, Kinesis Data Streams sends events of this type over an HTTP/2 connection to your consumer.
Fields
child_shards: Option<Vec<ChildShard>>
continuation_sequence_number: String
Use this as SequenceNumber
in the next call to SubscribeToShard, with StartingPosition
set to AT_SEQUENCE_NUMBER
or AFTER_SEQUENCE_NUMBER
. Use ContinuationSequenceNumber
for checkpointing because it captures your shard progress even when no data is written to the shard.
millis_behind_latest: i64
The number of milliseconds the read records are from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.
records: Vec<Record>
Trait Implementations
impl Clone for SubscribeToShardEvent
[src]
pub fn clone(&self) -> SubscribeToShardEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SubscribeToShardEvent
[src]
impl Default for SubscribeToShardEvent
[src]
pub fn default() -> SubscribeToShardEvent
[src]
impl<'de> Deserialize<'de> for SubscribeToShardEvent
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SubscribeToShardEvent> for SubscribeToShardEvent
[src]
pub fn eq(&self, other: &SubscribeToShardEvent) -> bool
[src]
pub fn ne(&self, other: &SubscribeToShardEvent) -> bool
[src]
impl StructuralPartialEq for SubscribeToShardEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubscribeToShardEvent
[src]
impl Send for SubscribeToShardEvent
[src]
impl Sync for SubscribeToShardEvent
[src]
impl Unpin for SubscribeToShardEvent
[src]
impl UnwindSafe for SubscribeToShardEvent
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,