pub struct DesktopVectorPreflightResponse {
pub provider: DesktopVectorSearchProvider,
pub endpoint: String,
pub model: String,
pub ollama_reachable: bool,
pub model_installed: bool,
pub install_state: DesktopVectorInstallState,
pub progress_pct: u8,
pub message: Option<String>,
}Fields§
§provider: DesktopVectorSearchProvider§endpoint: String§model: String§ollama_reachable: bool§model_installed: bool§install_state: DesktopVectorInstallState§progress_pct: u8§message: Option<String>Trait Implementations§
Source§impl Clone for DesktopVectorPreflightResponse
impl Clone for DesktopVectorPreflightResponse
Source§fn clone(&self) -> DesktopVectorPreflightResponse
fn clone(&self) -> DesktopVectorPreflightResponse
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<'de> Deserialize<'de> for DesktopVectorPreflightResponse
impl<'de> Deserialize<'de> for DesktopVectorPreflightResponse
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 DesktopVectorPreflightResponse
impl RefUnwindSafe for DesktopVectorPreflightResponse
impl Send for DesktopVectorPreflightResponse
impl Sync for DesktopVectorPreflightResponse
impl Unpin for DesktopVectorPreflightResponse
impl UnsafeUnpin for DesktopVectorPreflightResponse
impl UnwindSafe for DesktopVectorPreflightResponse
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