#[non_exhaustive]pub struct InputStartingPositionConfiguration {
pub input_starting_position: Option<InputStartingPosition>,
}
Expand description
Describes the point at which the application reads from the streaming source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.input_starting_position: Option<InputStartingPosition>
The starting position on the stream.
-
NOW
- Start reading just after the most recent record in the stream, start at the request time stamp that the customer issued. -
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Firehose delivery stream. -
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
Implementations§
source§impl InputStartingPositionConfiguration
impl InputStartingPositionConfiguration
sourcepub fn input_starting_position(&self) -> Option<&InputStartingPosition>
pub fn input_starting_position(&self) -> Option<&InputStartingPosition>
The starting position on the stream.
-
NOW
- Start reading just after the most recent record in the stream, start at the request time stamp that the customer issued. -
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Firehose delivery stream. -
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
source§impl InputStartingPositionConfiguration
impl InputStartingPositionConfiguration
sourcepub fn builder() -> InputStartingPositionConfigurationBuilder
pub fn builder() -> InputStartingPositionConfigurationBuilder
Creates a new builder-style object to manufacture InputStartingPositionConfiguration
.
Trait Implementations§
source§impl Clone for InputStartingPositionConfiguration
impl Clone for InputStartingPositionConfiguration
source§fn clone(&self) -> InputStartingPositionConfiguration
fn clone(&self) -> InputStartingPositionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InputStartingPositionConfiguration
impl PartialEq for InputStartingPositionConfiguration
source§fn eq(&self, other: &InputStartingPositionConfiguration) -> bool
fn eq(&self, other: &InputStartingPositionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InputStartingPositionConfiguration
Auto Trait Implementations§
impl Freeze for InputStartingPositionConfiguration
impl RefUnwindSafe for InputStartingPositionConfiguration
impl Send for InputStartingPositionConfiguration
impl Sync for InputStartingPositionConfiguration
impl Unpin for InputStartingPositionConfiguration
impl UnwindSafe for InputStartingPositionConfiguration
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more