pub struct DetectCustomLabelsRequest {
pub image: Image,
pub max_results: Option<i64>,
pub min_confidence: Option<f32>,
pub project_version_arn: String,
}
Fields
image: Image
max_results: Option<i64>
Maximum number of results you want the service to return in the response. The service returns the specified number of highest confidence labels ranked from highest confidence to lowest.
min_confidence: Option<f32>
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence lower than this specified value. If you specify a value of 0, all labels are return, regardless of the default thresholds that the model version applies.
project_version_arn: String
The ARN of the model version that you want to use.
Trait Implementations
sourceimpl Clone for DetectCustomLabelsRequest
impl Clone for DetectCustomLabelsRequest
sourcefn clone(&self) -> DetectCustomLabelsRequest
fn clone(&self) -> DetectCustomLabelsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DetectCustomLabelsRequest
impl Debug for DetectCustomLabelsRequest
sourceimpl Default for DetectCustomLabelsRequest
impl Default for DetectCustomLabelsRequest
sourcefn default() -> DetectCustomLabelsRequest
fn default() -> DetectCustomLabelsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DetectCustomLabelsRequest> for DetectCustomLabelsRequest
impl PartialEq<DetectCustomLabelsRequest> for DetectCustomLabelsRequest
sourcefn eq(&self, other: &DetectCustomLabelsRequest) -> bool
fn eq(&self, other: &DetectCustomLabelsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DetectCustomLabelsRequest) -> bool
fn ne(&self, other: &DetectCustomLabelsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for DetectCustomLabelsRequest
impl Serialize for DetectCustomLabelsRequest
impl StructuralPartialEq for DetectCustomLabelsRequest
Auto Trait Implementations
impl RefUnwindSafe for DetectCustomLabelsRequest
impl Send for DetectCustomLabelsRequest
impl Sync for DetectCustomLabelsRequest
impl Unpin for DetectCustomLabelsRequest
impl UnwindSafe for DetectCustomLabelsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more