pub struct SimilarCodeStatusOutput {Show 17 fields
pub schema_version: SimilarCodeStatusSchemaVersion,
pub version: ToolVersion,
pub protocol_version: u32,
pub embedding_semantics_version: u32,
pub companion_version: String,
pub model_ready: bool,
pub model_id: String,
pub model_revision: String,
pub dimensions: u32,
pub max_tokens: u32,
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 readiness of the exact local companion and pinned model.
Fields§
§schema_version: SimilarCodeStatusSchemaVersionIndependent status schema version.
version: ToolVersionFallow version producing the status envelope.
protocol_version: u32Companion protocol version.
embedding_semantics_version: u32Embedding calculation semantics implemented by the companion.
companion_version: StringExact companion package version.
model_ready: boolWhether every pinned model artifact is ready and verified.
model_id: StringImmutable model identifier.
model_revision: StringImmutable model revision.
dimensions: u32Embedding width.
max_tokens: u32Maximum tokenizer length.
license: StringModel license identifier.
cache_dir: StringLocal model cache directory.
download_bytes: u64Expected download size for all pinned artifacts.
analysis_offline: boolWhether source analysis stays local and offline.
integrity_verified: boolWhether all installed artifacts passed integrity validation.
problem: Option<String>Actionable readiness problem when the model is unavailable.
downloaded: Option<bool>Whether this setup invocation downloaded new bytes.
Trait Implementations§
Source§impl Clone for SimilarCodeStatusOutput
impl Clone for SimilarCodeStatusOutput
Source§impl Debug for SimilarCodeStatusOutput
impl Debug for SimilarCodeStatusOutput
impl Eq for SimilarCodeStatusOutput
Source§impl PartialEq for SimilarCodeStatusOutput
impl PartialEq for SimilarCodeStatusOutput
Source§impl Serialize for SimilarCodeStatusOutput
impl Serialize for SimilarCodeStatusOutput
impl StructuralPartialEq for SimilarCodeStatusOutput
Auto Trait Implementations§
impl Freeze for SimilarCodeStatusOutput
impl RefUnwindSafe for SimilarCodeStatusOutput
impl Send for SimilarCodeStatusOutput
impl Sync for SimilarCodeStatusOutput
impl Unpin for SimilarCodeStatusOutput
impl UnsafeUnpin for SimilarCodeStatusOutput
impl UnwindSafe for SimilarCodeStatusOutput
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.