pub struct EntityRecognizerInputDataConfig {
pub annotations: Option<EntityRecognizerAnnotations>,
pub documents: EntityRecognizerDocuments,
pub entity_list: Option<EntityRecognizerEntityList>,
pub entity_types: Vec<EntityTypesListItem>,
}Expand description
Specifies the format and location of the input data.
Fields§
§annotations: Option<EntityRecognizerAnnotations>S3 location of the annotations file for an entity recognizer.
documents: EntityRecognizerDocumentsS3 location of the documents folder for an entity recognizer
entity_list: Option<EntityRecognizerEntityList>S3 location of the entity list for an entity recognizer.
entity_types: Vec<EntityTypesListItem>The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at one time to train an entity recognizer.
Trait Implementations§
Source§impl Clone for EntityRecognizerInputDataConfig
impl Clone for EntityRecognizerInputDataConfig
Source§fn clone(&self) -> EntityRecognizerInputDataConfig
fn clone(&self) -> EntityRecognizerInputDataConfig
Returns a duplicate 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 Default for EntityRecognizerInputDataConfig
impl Default for EntityRecognizerInputDataConfig
Source§fn default() -> EntityRecognizerInputDataConfig
fn default() -> EntityRecognizerInputDataConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityRecognizerInputDataConfig
impl<'de> Deserialize<'de> for EntityRecognizerInputDataConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityRecognizerInputDataConfig
impl PartialEq for EntityRecognizerInputDataConfig
Source§fn eq(&self, other: &EntityRecognizerInputDataConfig) -> bool
fn eq(&self, other: &EntityRecognizerInputDataConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityRecognizerInputDataConfig
Auto Trait Implementations§
impl Freeze for EntityRecognizerInputDataConfig
impl RefUnwindSafe for EntityRecognizerInputDataConfig
impl Send for EntityRecognizerInputDataConfig
impl Sync for EntityRecognizerInputDataConfig
impl Unpin for EntityRecognizerInputDataConfig
impl UnwindSafe for EntityRecognizerInputDataConfig
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