Struct rusoto_rekognition::CustomLabel
source · [−]pub struct CustomLabel {
pub confidence: Option<f32>,
pub geometry: Option<Geometry>,
pub name: Option<String>,
}
Expand description
A custom label detected in an image by a call to DetectCustomLabels.
Fields
confidence: Option<f32>
The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.
geometry: Option<Geometry>
The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
name: Option<String>
The name of the custom label.
Trait Implementations
sourceimpl Clone for CustomLabel
impl Clone for CustomLabel
sourcefn clone(&self) -> CustomLabel
fn clone(&self) -> CustomLabel
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 CustomLabel
impl Debug for CustomLabel
sourceimpl Default for CustomLabel
impl Default for CustomLabel
sourcefn default() -> CustomLabel
fn default() -> CustomLabel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CustomLabel
impl<'de> Deserialize<'de> for CustomLabel
sourcefn 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
sourceimpl PartialEq<CustomLabel> for CustomLabel
impl PartialEq<CustomLabel> for CustomLabel
sourcefn eq(&self, other: &CustomLabel) -> bool
fn eq(&self, other: &CustomLabel) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomLabel) -> bool
fn ne(&self, other: &CustomLabel) -> bool
This method tests for !=
.
impl StructuralPartialEq for CustomLabel
Auto Trait Implementations
impl RefUnwindSafe for CustomLabel
impl Send for CustomLabel
impl Sync for CustomLabel
impl Unpin for CustomLabel
impl UnwindSafe for CustomLabel
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