pub struct MultimodalConfig {
pub max_images: usize,
pub max_image_size_mb: usize,
pub allow_remote_fetch: bool,
}Fields§
§max_images: usize§max_image_size_mb: usize§allow_remote_fetch: boolTrait Implementations§
Source§impl Clone for MultimodalConfig
impl Clone for MultimodalConfig
Source§fn clone(&self) -> MultimodalConfig
fn clone(&self) -> MultimodalConfig
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 MultimodalConfig
impl Debug for MultimodalConfig
Source§impl Default for MultimodalConfig
impl Default for MultimodalConfig
Source§impl<'de> Deserialize<'de> for MultimodalConfigwhere
MultimodalConfig: Default,
impl<'de> Deserialize<'de> for MultimodalConfigwhere
MultimodalConfig: Default,
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 MultimodalConfig
impl RefUnwindSafe for MultimodalConfig
impl Send for MultimodalConfig
impl Sync for MultimodalConfig
impl Unpin for MultimodalConfig
impl UnsafeUnpin for MultimodalConfig
impl UnwindSafe for MultimodalConfig
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