Struct aws_sdk_cognitosync::output::ListRecordsOutput
source · [−]#[non_exhaustive]pub struct ListRecordsOutput {
pub records: Option<Vec<Record>>,
pub next_token: Option<String>,
pub count: i32,
pub dataset_sync_count: Option<i64>,
pub last_modified_by: Option<String>,
pub merged_dataset_names: Option<Vec<String>>,
pub dataset_exists: bool,
pub dataset_deleted_after_requested_sync_count: bool,
pub sync_session_token: Option<String>,
}
Expand description
Returned for a successful ListRecordsRequest.
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.records: Option<Vec<Record>>
A list of all records.
next_token: Option<String>
A pagination token for obtaining the next page of results.
count: i32
Total number of records.
dataset_sync_count: Option<i64>
Server sync count for this dataset.
last_modified_by: Option<String>
The user/device that made the last change to this record.
merged_dataset_names: Option<Vec<String>>
Names of merged datasets.
dataset_exists: bool
Indicates whether the dataset exists.
dataset_deleted_after_requested_sync_count: bool
A boolean value specifying whether to delete the dataset locally.
sync_session_token: Option<String>
A token containing a session ID, identity ID, and expiration.
Implementations
sourceimpl ListRecordsOutput
impl ListRecordsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A pagination token for obtaining the next page of results.
sourcepub fn dataset_sync_count(&self) -> Option<i64>
pub fn dataset_sync_count(&self) -> Option<i64>
Server sync count for this dataset.
sourcepub fn last_modified_by(&self) -> Option<&str>
pub fn last_modified_by(&self) -> Option<&str>
The user/device that made the last change to this record.
sourcepub fn dataset_exists(&self) -> bool
pub fn dataset_exists(&self) -> bool
Indicates whether the dataset exists.
sourcepub fn dataset_deleted_after_requested_sync_count(&self) -> bool
pub fn dataset_deleted_after_requested_sync_count(&self) -> bool
A boolean value specifying whether to delete the dataset locally.
sourcepub fn sync_session_token(&self) -> Option<&str>
pub fn sync_session_token(&self) -> Option<&str>
A token containing a session ID, identity ID, and expiration.
sourceimpl ListRecordsOutput
impl ListRecordsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListRecordsOutput
Trait Implementations
sourceimpl Clone for ListRecordsOutput
impl Clone for ListRecordsOutput
sourcefn clone(&self) -> ListRecordsOutput
fn clone(&self) -> ListRecordsOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListRecordsOutput
impl Debug for ListRecordsOutput
sourceimpl PartialEq<ListRecordsOutput> for ListRecordsOutput
impl PartialEq<ListRecordsOutput> for ListRecordsOutput
sourcefn eq(&self, other: &ListRecordsOutput) -> bool
fn eq(&self, other: &ListRecordsOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListRecordsOutput) -> bool
fn ne(&self, other: &ListRecordsOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListRecordsOutput
Auto Trait Implementations
impl RefUnwindSafe for ListRecordsOutput
impl Send for ListRecordsOutput
impl Sync for ListRecordsOutput
impl Unpin for ListRecordsOutput
impl UnwindSafe for ListRecordsOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more