Struct gapi_grpc::google::cloud::vision::v1p1beta1::ImageSource[][src]

pub struct ImageSource {
    pub gcs_image_uri: String,
    pub image_uri: String,
}

External image source (Google Cloud Storage image location).

Fields

gcs_image_uri: String

NOTE: For new code image_uri below is preferred. Google Cloud Storage image URI, which must be in the following form: gs://bucket_name/object_name (for details, see Google Cloud Storage Request URIs). NOTE: Cloud Storage object versioning is not supported.

image_uri: String

Image URI which supports:

  1. Google Cloud Storage image URI, which must be in the following form: gs://bucket_name/object_name (for details, see Google Cloud Storage Request URIs). NOTE: Cloud Storage object versioning is not supported.
  2. Publicly accessible image HTTP/HTTPS URL. This is preferred over the legacy gcs_image_uri above. When both gcs_image_uri and image_uri are specified, image_uri takes precedence.

Trait Implementations

impl Clone for ImageSource[src]

impl Debug for ImageSource[src]

impl Default for ImageSource[src]

impl Message for ImageSource[src]

impl PartialEq<ImageSource> for ImageSource[src]

impl StructuralPartialEq for ImageSource[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageSource

impl Send for ImageSource

impl Sync for ImageSource

impl Unpin for ImageSource

impl UnwindSafe for ImageSource

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]