#[non_exhaustive]pub struct DatasetEntityRecognizerInputDataConfig {
pub annotations: Option<DatasetEntityRecognizerAnnotations>,
pub documents: Option<DatasetEntityRecognizerDocuments>,
pub entity_list: Option<DatasetEntityRecognizerEntityList>,
}
Expand description
Specifies the format and location of the input data. You must provide either the Annotations
parameter or the EntityList
parameter.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.annotations: Option<DatasetEntityRecognizerAnnotations>
The S3 location of the annotation documents for your custom entity recognizer.
documents: Option<DatasetEntityRecognizerDocuments>
The format and location of the training documents for your custom entity recognizer.
entity_list: Option<DatasetEntityRecognizerEntityList>
The S3 location of the entity list for your custom entity recognizer.
Implementations§
source§impl DatasetEntityRecognizerInputDataConfig
impl DatasetEntityRecognizerInputDataConfig
sourcepub fn annotations(&self) -> Option<&DatasetEntityRecognizerAnnotations>
pub fn annotations(&self) -> Option<&DatasetEntityRecognizerAnnotations>
The S3 location of the annotation documents for your custom entity recognizer.
sourcepub fn documents(&self) -> Option<&DatasetEntityRecognizerDocuments>
pub fn documents(&self) -> Option<&DatasetEntityRecognizerDocuments>
The format and location of the training documents for your custom entity recognizer.
sourcepub fn entity_list(&self) -> Option<&DatasetEntityRecognizerEntityList>
pub fn entity_list(&self) -> Option<&DatasetEntityRecognizerEntityList>
The S3 location of the entity list for your custom entity recognizer.
source§impl DatasetEntityRecognizerInputDataConfig
impl DatasetEntityRecognizerInputDataConfig
sourcepub fn builder() -> DatasetEntityRecognizerInputDataConfigBuilder
pub fn builder() -> DatasetEntityRecognizerInputDataConfigBuilder
Creates a new builder-style object to manufacture DatasetEntityRecognizerInputDataConfig
.
Trait Implementations§
source§impl Clone for DatasetEntityRecognizerInputDataConfig
impl Clone for DatasetEntityRecognizerInputDataConfig
source§fn clone(&self) -> DatasetEntityRecognizerInputDataConfig
fn clone(&self) -> DatasetEntityRecognizerInputDataConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for DatasetEntityRecognizerInputDataConfig
impl PartialEq for DatasetEntityRecognizerInputDataConfig
source§fn eq(&self, other: &DatasetEntityRecognizerInputDataConfig) -> bool
fn eq(&self, other: &DatasetEntityRecognizerInputDataConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatasetEntityRecognizerInputDataConfig
Auto Trait Implementations§
impl RefUnwindSafe for DatasetEntityRecognizerInputDataConfig
impl Send for DatasetEntityRecognizerInputDataConfig
impl Sync for DatasetEntityRecognizerInputDataConfig
impl Unpin for DatasetEntityRecognizerInputDataConfig
impl UnwindSafe for DatasetEntityRecognizerInputDataConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.