Struct aws_sdk_rekognition::types::DatasetChanges
source · #[non_exhaustive]pub struct DatasetChanges {
pub ground_truth: Blob,
}Expand description
Describes updates or additions to a dataset. A Single update or addition is an entry (JSON Line) that provides information about a single image. To update an existing entry, you match the source-ref field of the update entry with the source-ref filed of the entry that you want to update. If the source-ref field doesn't match an existing entry, the entry is added to dataset as a new entry.
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.ground_truth: BlobA Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.
For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
Implementations§
source§impl DatasetChanges
impl DatasetChanges
sourcepub fn ground_truth(&self) -> &Blob
pub fn ground_truth(&self) -> &Blob
A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.
For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
source§impl DatasetChanges
impl DatasetChanges
sourcepub fn builder() -> DatasetChangesBuilder
pub fn builder() -> DatasetChangesBuilder
Creates a new builder-style object to manufacture DatasetChanges.
Trait Implementations§
source§impl Clone for DatasetChanges
impl Clone for DatasetChanges
source§fn clone(&self) -> DatasetChanges
fn clone(&self) -> DatasetChanges
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetChanges
impl Debug for DatasetChanges
source§impl PartialEq for DatasetChanges
impl PartialEq for DatasetChanges
source§fn eq(&self, other: &DatasetChanges) -> bool
fn eq(&self, other: &DatasetChanges) -> bool
self and other values to be equal, and is used
by ==.