pub struct Builder { /* private fields */ }Expand description
A builder for Instance.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn bounding_box(self, input: BoundingBox) -> Self
pub fn bounding_box(self, input: BoundingBox) -> Self
The position of the label instance on the image.
sourcepub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
pub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
The position of the label instance on the image.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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