#[non_exhaustive]pub struct EntityRecognizerAnnotations {
pub s3_uri: String,
pub test_s3_uri: Option<String>,
}
Expand description
Describes the annotations associated with a entity recognizer.
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.s3_uri: String
Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
test_s3_uri: Option<String>
Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
Implementations§
source§impl EntityRecognizerAnnotations
impl EntityRecognizerAnnotations
sourcepub fn s3_uri(&self) -> &str
pub fn s3_uri(&self) -> &str
Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
sourcepub fn test_s3_uri(&self) -> Option<&str>
pub fn test_s3_uri(&self) -> Option<&str>
Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
source§impl EntityRecognizerAnnotations
impl EntityRecognizerAnnotations
sourcepub fn builder() -> EntityRecognizerAnnotationsBuilder
pub fn builder() -> EntityRecognizerAnnotationsBuilder
Creates a new builder-style object to manufacture EntityRecognizerAnnotations
.
Trait Implementations§
source§impl Clone for EntityRecognizerAnnotations
impl Clone for EntityRecognizerAnnotations
source§fn clone(&self) -> EntityRecognizerAnnotations
fn clone(&self) -> EntityRecognizerAnnotations
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntityRecognizerAnnotations
impl Debug for EntityRecognizerAnnotations
source§impl PartialEq for EntityRecognizerAnnotations
impl PartialEq for EntityRecognizerAnnotations
source§fn eq(&self, other: &EntityRecognizerAnnotations) -> bool
fn eq(&self, other: &EntityRecognizerAnnotations) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntityRecognizerAnnotations
Auto Trait Implementations§
impl Freeze for EntityRecognizerAnnotations
impl RefUnwindSafe for EntityRecognizerAnnotations
impl Send for EntityRecognizerAnnotations
impl Sync for EntityRecognizerAnnotations
impl Unpin for EntityRecognizerAnnotations
impl UnwindSafe for EntityRecognizerAnnotations
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more