Struct rusoto_cognito_sync::UpdateRecordsRequest
source · [−]pub struct UpdateRecordsRequest {
pub client_context: Option<String>,
pub dataset_name: String,
pub device_id: Option<String>,
pub identity_id: String,
pub identity_pool_id: String,
pub record_patches: Option<Vec<RecordPatch>>,
pub sync_session_token: String,
}
Expand description
A request to post updates to records or add and delete records for a dataset and user.
Fields
client_context: Option<String>
Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
dataset_name: String
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
device_id: Option<String>
The unique ID generated for this device by Cognito.
identity_id: String
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
identity_pool_id: String
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
record_patches: Option<Vec<RecordPatch>>
A list of patch operations.
sync_session_token: String
The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
Trait Implementations
sourceimpl Clone for UpdateRecordsRequest
impl Clone for UpdateRecordsRequest
sourcefn clone(&self) -> UpdateRecordsRequest
fn clone(&self) -> UpdateRecordsRequest
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 UpdateRecordsRequest
impl Debug for UpdateRecordsRequest
sourceimpl Default for UpdateRecordsRequest
impl Default for UpdateRecordsRequest
sourcefn default() -> UpdateRecordsRequest
fn default() -> UpdateRecordsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateRecordsRequest> for UpdateRecordsRequest
impl PartialEq<UpdateRecordsRequest> for UpdateRecordsRequest
sourcefn eq(&self, other: &UpdateRecordsRequest) -> bool
fn eq(&self, other: &UpdateRecordsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateRecordsRequest) -> bool
fn ne(&self, other: &UpdateRecordsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for UpdateRecordsRequest
impl Serialize for UpdateRecordsRequest
impl StructuralPartialEq for UpdateRecordsRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateRecordsRequest
impl Send for UpdateRecordsRequest
impl Sync for UpdateRecordsRequest
impl Unpin for UpdateRecordsRequest
impl UnwindSafe for UpdateRecordsRequest
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