pub struct VisionResponse {
pub result: String,
}Expand description
Response structure from vision models
Fields§
§result: StringTextual description or result generated from the image
Trait Implementations§
Source§impl Clone for VisionResponse
impl Clone for VisionResponse
Source§fn clone(&self) -> VisionResponse
fn clone(&self) -> VisionResponse
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 VisionResponse
impl Debug for VisionResponse
Source§impl<'de> Deserialize<'de> for VisionResponse
impl<'de> Deserialize<'de> for VisionResponse
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 VisionResponse
impl RefUnwindSafe for VisionResponse
impl Send for VisionResponse
impl Sync for VisionResponse
impl Unpin for VisionResponse
impl UnwindSafe for VisionResponse
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