pub struct EmbedInfoResult {
pub enabled: bool,
pub model: Option<EmbedModelInfo>,
pub loaded: bool,
pub note: Option<EmbedNote>,
}Expand description
Result of EMBED_INFO.
Fields§
§enabled: boolWhether this bridge embeds at all.
model: Option<EmbedModelInfo>The model, when enabled.
loaded: boolWhether the model is in memory right now (local provider); always true for REST.
note: Option<EmbedNote>Why embedding is off, or what it lacks while on. Absent from bridges before 2.3.
Trait Implementations§
Source§impl Clone for EmbedInfoResult
impl Clone for EmbedInfoResult
Source§impl Debug for EmbedInfoResult
impl Debug for EmbedInfoResult
Source§impl Default for EmbedInfoResult
impl Default for EmbedInfoResult
Source§impl<'de> Deserialize<'de> for EmbedInfoResult
impl<'de> Deserialize<'de> for EmbedInfoResult
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 EmbedInfoResult
impl RefUnwindSafe for EmbedInfoResult
impl Send for EmbedInfoResult
impl Sync for EmbedInfoResult
impl Unpin for EmbedInfoResult
impl UnsafeUnpin for EmbedInfoResult
impl UnwindSafe for EmbedInfoResult
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