pub struct SimilarCodeProviderStatus {Show 15 fields
pub protocol_version: u32,
pub embedding_semantics_version: u32,
pub sidecar_version: String,
pub model_ready: bool,
pub model_id: String,
pub model_revision: String,
pub dimensions: usize,
pub max_tokens: usize,
pub license: String,
pub cache_dir: String,
pub download_bytes: u64,
pub analysis_offline: bool,
pub integrity_verified: bool,
pub problem: Option<String>,
pub downloaded: Option<bool>,
}Expand description
Machine-readable companion and model availability.
Fields§
§protocol_version: u32Wire protocol version implemented by the sidecar.
embedding_semantics_version: u32Embedding calculation semantics implemented by the sidecar.
sidecar_version: StringInstalled sidecar package version.
model_ready: boolWhether every pinned model artifact is present and valid.
model_id: StringImmutable model identifier.
model_revision: StringImmutable model revision.
dimensions: usizeEmbedding width.
max_tokens: usizeMaximum tokenizer length before deterministic truncation.
license: StringModel license identifier.
cache_dir: StringUser-cache directory containing model artifacts.
download_bytes: u64Total expected artifact bytes.
analysis_offline: boolWhether source analysis stays offline after setup.
integrity_verified: boolWhether all pinned artifacts passed size and SHA-256 validation.
problem: Option<String>Actionable readiness problem when the model is not ready.
downloaded: Option<bool>Whether setup downloaded new bytes, present only after setup.
Trait Implementations§
Source§impl Clone for SimilarCodeProviderStatus
impl Clone for SimilarCodeProviderStatus
Source§impl Debug for SimilarCodeProviderStatus
impl Debug for SimilarCodeProviderStatus
Source§impl<'de> Deserialize<'de> for SimilarCodeProviderStatus
impl<'de> Deserialize<'de> for SimilarCodeProviderStatus
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 SimilarCodeProviderStatus
impl RefUnwindSafe for SimilarCodeProviderStatus
impl Send for SimilarCodeProviderStatus
impl Sync for SimilarCodeProviderStatus
impl Unpin for SimilarCodeProviderStatus
impl UnsafeUnpin for SimilarCodeProviderStatus
impl UnwindSafe for SimilarCodeProviderStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more