Enum googapis::google::cloud::automl::v1beta1::image::Data [−][src]
pub enum Data {
ImageBytes(Vec<u8>),
InputConfig(InputConfig),
}
Expand description
Input only. The data representing the image. For Predict calls [image_bytes][google.cloud.automl.v1beta1.Image.image_bytes] must be set, as other options are not currently supported by prediction API. You can read the contents of an uploaded image by using the [content_uri][google.cloud.automl.v1beta1.Image.content_uri] field.
Variants
Image content represented as a stream of bytes.
Note: As with all bytes
fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
InputConfig(InputConfig)
An input config specifying the content of the image.
Tuple Fields of InputConfig
0: InputConfig
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Data
impl UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more