#[non_exhaustive]pub struct ListChangedBlocksInput {
pub first_snapshot_id: Option<String>,
pub second_snapshot_id: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub starting_block_index: Option<i32>,
}
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.first_snapshot_id: Option<String>
The ID of the first snapshot to use for the comparison.
The FirstSnapshotID
parameter must be specified with a SecondSnapshotId
parameter; otherwise, an error occurs.
second_snapshot_id: Option<String>
The ID of the second snapshot to use for the comparison.
The SecondSnapshotId
parameter must be specified with a FirstSnapshotID
parameter; otherwise, an error occurs.
next_token: Option<String>
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
max_results: Option<i32>
The maximum number of blocks to be returned by the request.
Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is null
when there are no more blocks to return.
starting_block_index: Option<i32>
The block index from which the comparison should start.
The list in the response will start from this block index or the next valid block index in the snapshots.
If you specify NextToken, then StartingBlockIndex is ignored.
Implementations§
source§impl ListChangedBlocksInput
impl ListChangedBlocksInput
sourcepub fn first_snapshot_id(&self) -> Option<&str>
pub fn first_snapshot_id(&self) -> Option<&str>
The ID of the first snapshot to use for the comparison.
The FirstSnapshotID
parameter must be specified with a SecondSnapshotId
parameter; otherwise, an error occurs.
sourcepub fn second_snapshot_id(&self) -> Option<&str>
pub fn second_snapshot_id(&self) -> Option<&str>
The ID of the second snapshot to use for the comparison.
The SecondSnapshotId
parameter must be specified with a FirstSnapshotID
parameter; otherwise, an error occurs.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of blocks to be returned by the request.
Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is null
when there are no more blocks to return.
sourcepub fn starting_block_index(&self) -> Option<i32>
pub fn starting_block_index(&self) -> Option<i32>
The block index from which the comparison should start.
The list in the response will start from this block index or the next valid block index in the snapshots.
If you specify NextToken, then StartingBlockIndex is ignored.
source§impl ListChangedBlocksInput
impl ListChangedBlocksInput
sourcepub fn builder() -> ListChangedBlocksInputBuilder
pub fn builder() -> ListChangedBlocksInputBuilder
Creates a new builder-style object to manufacture ListChangedBlocksInput
.
Trait Implementations§
source§impl Clone for ListChangedBlocksInput
impl Clone for ListChangedBlocksInput
source§fn clone(&self) -> ListChangedBlocksInput
fn clone(&self) -> ListChangedBlocksInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListChangedBlocksInput
impl Debug for ListChangedBlocksInput
source§impl PartialEq for ListChangedBlocksInput
impl PartialEq for ListChangedBlocksInput
source§fn eq(&self, other: &ListChangedBlocksInput) -> bool
fn eq(&self, other: &ListChangedBlocksInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChangedBlocksInput
Auto Trait Implementations§
impl Freeze for ListChangedBlocksInput
impl RefUnwindSafe for ListChangedBlocksInput
impl Send for ListChangedBlocksInput
impl Sync for ListChangedBlocksInput
impl Unpin for ListChangedBlocksInput
impl UnwindSafe for ListChangedBlocksInput
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