[][src]Struct gcp_client::google::cloud::vision::v1p2beta1::CropHint

pub struct CropHint {
    pub bounding_poly: Option<BoundingPoly>,
    pub confidence: f32,
    pub importance_fraction: f32,
}

Single crop hint that is used to generate a new crop when serving an image.

Fields

bounding_poly: Option<BoundingPoly>

The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale, as returned in ImageParams.

confidence: f32

Confidence of this being a salient region. Range [0, 1].

importance_fraction: f32

Fraction of importance of this salient region with respect to the original image.

Trait Implementations

impl Clone for CropHint[src]

impl Debug for CropHint[src]

impl Default for CropHint[src]

impl Message for CropHint[src]

impl PartialEq<CropHint> for CropHint[src]

impl StructuralPartialEq for CropHint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]