pub struct ImageFallbackConfig {
pub mode: ImageFallbackMode,
pub vision_model: Option<String>,
}Fields§
§mode: ImageFallbackMode§vision_model: Option<String>Vision model name for Vision mode. Falls back to the session’s main model
when None.
Trait Implementations§
Source§impl Clone for ImageFallbackConfig
impl Clone for ImageFallbackConfig
Source§fn clone(&self) -> ImageFallbackConfig
fn clone(&self) -> ImageFallbackConfig
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 ImageFallbackConfig
impl Debug for ImageFallbackConfig
Source§impl PartialEq for ImageFallbackConfig
impl PartialEq for ImageFallbackConfig
impl Eq for ImageFallbackConfig
impl StructuralPartialEq for ImageFallbackConfig
Auto Trait Implementations§
impl Freeze for ImageFallbackConfig
impl RefUnwindSafe for ImageFallbackConfig
impl Send for ImageFallbackConfig
impl Sync for ImageFallbackConfig
impl Unpin for ImageFallbackConfig
impl UnsafeUnpin for ImageFallbackConfig
impl UnwindSafe for ImageFallbackConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.