pub struct SubOperationResult { /* private fields */ }
Expand description
Struct representing the result of a single sub-operation of a WriteMultipleRequest
.
Implementations§
Source§impl SubOperationResult
impl SubOperationResult
Sourcepub fn version(&self) -> Option<&Version>
pub fn version(&self) -> Option<&Version>
For Put
operations,
Get the Version of the now-current record. This value is Some
if the put operation succeeded. It
may be used in subsequent PutRequest::if_version()
calls.
This is valid for Put
operations only.
Sourcepub fn consumed(&self) -> Option<&Capacity>
pub fn consumed(&self) -> Option<&Capacity>
Get the consumed capacity (read/write units) of the operation. This is only valid in the NoSQL Cloud Service.
Sourcepub fn generated_value(&self) -> Option<&FieldValue>
pub fn generated_value(&self) -> Option<&FieldValue>
for Put
operations, get the value generated if the operation created a new value. This can happen if the table contains an
identity column or string column declared as a generated UUID. If the table has no such column, this value is None
.
This is valid for Put
operations only.
Sourcepub fn existing_modification_time(&self) -> i64
pub fn existing_modification_time(&self) -> i64
For Put
operations, see PutResult::existing_modification_time()
. For Delete
operations,
see DeleteResult::existing_modification_time()
.
Sourcepub fn existing_value(&self) -> Option<&MapValue>
pub fn existing_value(&self) -> Option<&MapValue>
For Put
operations, see PutResult::existing_value()
. For Delete
operations,
see DeleteResult::existing_value()
.
Sourcepub fn existing_version(&self) -> Option<&Version>
pub fn existing_version(&self) -> Option<&Version>
For Put
operations, see PutResult::existing_version()
. For Delete
operations,
see DeleteResult::existing_version()
.