#[non_exhaustive]pub enum ImageUnderstanding {
Structured(Vec<ContentBlock>),
Description(String),
}Expand description
What understand_image judged the image to be.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Structured(Vec<ContentBlock>)
Judged a text/table document scan — structured extraction.
Description(String)
Judged a general image (photo, chart, diagram) — a context-aware description.
Trait Implementations§
Source§impl Clone for ImageUnderstanding
impl Clone for ImageUnderstanding
Source§impl Debug for ImageUnderstanding
impl Debug for ImageUnderstanding
Source§impl PartialEq for ImageUnderstanding
impl PartialEq for ImageUnderstanding
impl StructuralPartialEq for ImageUnderstanding
Auto Trait Implementations§
impl Freeze for ImageUnderstanding
impl RefUnwindSafe for ImageUnderstanding
impl Send for ImageUnderstanding
impl Sync for ImageUnderstanding
impl Unpin for ImageUnderstanding
impl UnsafeUnpin for ImageUnderstanding
impl UnwindSafe for ImageUnderstanding
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