#[non_exhaustive]pub struct ImageSegmentationPredictionInstance {
pub content: String,
pub mime_type: String,
/* private fields */
}Expand description
Prediction input format for Image Segmentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.content: StringThe image bytes to make the predictions on.
mime_type: StringThe MIME type of the content of the image. Only the images in below listed MIME types are supported.
- image/jpeg
- image/png
Implementations§
Source§impl ImageSegmentationPredictionInstance
impl ImageSegmentationPredictionInstance
Trait Implementations§
Source§impl Clone for ImageSegmentationPredictionInstance
impl Clone for ImageSegmentationPredictionInstance
Source§fn clone(&self) -> ImageSegmentationPredictionInstance
fn clone(&self) -> ImageSegmentationPredictionInstance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ImageSegmentationPredictionInstance
impl Default for ImageSegmentationPredictionInstance
Source§fn default() -> ImageSegmentationPredictionInstance
fn default() -> ImageSegmentationPredictionInstance
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImageSegmentationPredictionInstance
impl PartialEq for ImageSegmentationPredictionInstance
Source§fn eq(&self, other: &ImageSegmentationPredictionInstance) -> bool
fn eq(&self, other: &ImageSegmentationPredictionInstance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageSegmentationPredictionInstance
Auto Trait Implementations§
impl Freeze for ImageSegmentationPredictionInstance
impl RefUnwindSafe for ImageSegmentationPredictionInstance
impl Send for ImageSegmentationPredictionInstance
impl Sync for ImageSegmentationPredictionInstance
impl Unpin for ImageSegmentationPredictionInstance
impl UnwindSafe for ImageSegmentationPredictionInstance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more