pub struct ModelInspection {
pub metadata: ModelMetadata,
pub capabilities: Capabilities,
pub cli: CliInterface,
pub discovered_configs: Vec<NamedAsset>,
pub discovered_weights: Vec<NamedAsset>,
pub model_root: String,
}Expand description
模型预检结果(Registry::inspect)。
Fields§
§metadata: ModelMetadata模型元数据。
capabilities: Capabilities能力集合。
cli: CliInterfaceCLI 选项(请求 / 会话 / 加载)。
discovered_configs: Vec<NamedAsset>发现的配置文件。
discovered_weights: Vec<NamedAsset>发现的权重文件。
model_root: String模型根目录。
Trait Implementations§
Source§impl Clone for ModelInspection
impl Clone for ModelInspection
Source§impl Debug for ModelInspection
impl Debug for ModelInspection
Source§impl<'de> Deserialize<'de> for ModelInspection
impl<'de> Deserialize<'de> for ModelInspection
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
Source§impl PartialEq for ModelInspection
impl PartialEq for ModelInspection
Source§impl Serialize for ModelInspection
impl Serialize for ModelInspection
impl StructuralPartialEq for ModelInspection
Auto Trait Implementations§
impl Forget for ModelInspection
impl Freeze for ModelInspection
impl RefUnwindSafe for ModelInspection
impl Send for ModelInspection
impl Sync for ModelInspection
impl Unpin for ModelInspection
impl UnsafeUnpin for ModelInspection
impl UnwindSafe for ModelInspection
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