Struct aws_sdk_cognitosync::model::RecordPatch [−][src]
#[non_exhaustive]pub struct RecordPatch {
pub op: Option<Operation>,
pub key: Option<String>,
pub value: Option<String>,
pub sync_count: Option<i64>,
pub device_last_modified_date: Option<Instant>,
}
Expand description
An update operation for a record.
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.op: Option<Operation>
An operation, either replace or remove.
key: Option<String>
The key associated with the record patch.
value: Option<String>
The value associated with the record patch.
sync_count: Option<i64>
Last known server sync count for this record. Set to 0 if unknown.
device_last_modified_date: Option<Instant>
The last modified date of the client device.
Implementations
Last known server sync count for this record. Set to 0 if unknown.
The last modified date of the client device.
Creates a new builder-style object to manufacture RecordPatch
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RecordPatch
impl Send for RecordPatch
impl Sync for RecordPatch
impl Unpin for RecordPatch
impl UnwindSafe for RecordPatch
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more