pub struct ProcessedImage {
pub id: String,
pub source: String,
pub caption: Option<String>,
pub ocr_text: Option<String>,
pub features: Option<VisualFeatures>,
pub clip_embedding: Option<Vec<f32>>,
pub metadata: ImageMetadata,
}Expand description
Processed image data
Fields§
§id: StringImage ID
source: StringOriginal path or URL
caption: Option<String>Image caption
ocr_text: Option<String>OCR text if applicable
features: Option<VisualFeatures>Visual features
clip_embedding: Option<Vec<f32>>CLIP embedding
metadata: ImageMetadataImage metadata
Trait Implementations§
Source§impl Clone for ProcessedImage
impl Clone for ProcessedImage
Source§fn clone(&self) -> ProcessedImage
fn clone(&self) -> ProcessedImage
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 Debug for ProcessedImage
impl Debug for ProcessedImage
Source§impl<'de> Deserialize<'de> for ProcessedImage
impl<'de> Deserialize<'de> for ProcessedImage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProcessedImage
impl RefUnwindSafe for ProcessedImage
impl Send for ProcessedImage
impl Sync for ProcessedImage
impl Unpin for ProcessedImage
impl UnwindSafe for ProcessedImage
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