pub struct AiModel {
pub deployment_platform: Option<String>,
pub display_name: Option<String>,
pub domain: Option<String>,
pub library: Option<String>,
pub location: Option<String>,
pub name: Option<String>,
pub publisher: Option<String>,
pub usage_category: Option<String>,
}Expand description
Contains information about the AI model associated with the finding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§deployment_platform: Option<String>The platform on which the model is deployed.
display_name: Option<String>The user defined display name of model. Ex. baseline-classification-model
domain: Option<String>The domain of the model, for example, “image-classification”.
library: Option<String>The name of the model library, for example, “transformers”.
location: Option<String>The region in which the model is used, for example, “us-central1”.
name: Option<String>The name of the AI model, for example, “gemini:1.0.0”.
publisher: Option<String>The publisher of the model, for example, “google” or “nvidia”.
usage_category: Option<String>The purpose of the model, for example, “Inteference” or “Training”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AiModel
impl<'de> Deserialize<'de> for AiModel
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
impl Part for AiModel
Auto Trait Implementations§
impl Freeze for AiModel
impl RefUnwindSafe for AiModel
impl Send for AiModel
impl Sync for AiModel
impl Unpin for AiModel
impl UnwindSafe for AiModel
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