pub struct VisionLimits {
pub supported_media_types: Vec<String>,
pub max_prompt_images: u32,
pub max_prompt_image_size: u64,
}Expand description
Vision capabilities for a model.
Fields§
§supported_media_types: Vec<String>§max_prompt_images: u32§max_prompt_image_size: u64Trait Implementations§
Source§impl Clone for VisionLimits
impl Clone for VisionLimits
Source§fn clone(&self) -> VisionLimits
fn clone(&self) -> VisionLimits
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 VisionLimits
impl Debug for VisionLimits
Source§impl<'de> Deserialize<'de> for VisionLimits
impl<'de> Deserialize<'de> for VisionLimits
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 VisionLimits
impl RefUnwindSafe for VisionLimits
impl Send for VisionLimits
impl Sync for VisionLimits
impl Unpin for VisionLimits
impl UnwindSafe for VisionLimits
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