#[non_exhaustive]pub struct Model {
pub id: ModelId,
pub tone_id: ToneId,
pub user_id: UserId,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub name: String,
pub model_url: String,
pub size: Option<Size>,
pub architecture_version: Option<ArchitectureVersion>,
}Expand description
One downloadable capture belonging to a Tone — a single file at one size and
architecture.
A tone with six models is six variants of the same capture, not six different amps.
This struct is metadata: the file itself lives at model_url, and
Client::download_model fetches it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ModelIdStable identifier, used by Client::model.
tone_id: ToneIdThe tone this model belongs to.
user_id: UserIdThe creator’s account id.
created_at: Option<String>When the model was uploaded, as the API’s raw timestamp string.
updated_at: Option<String>When the model was last changed, as the API’s raw timestamp string.
name: StringThe creator’s name for this variant, e.g. “Plexi 51 DI#03”.
Distinguishes models within one tone — typically the mic, speaker or gain setting captured.
model_url: StringWhere the file lives. Fetching it needs the same Bearer token as any other call,
which Client::download_model handles.
size: Option<Size>The CPU/quality trade-off this variant was trained at.
architecture_version: Option<ArchitectureVersion>Which generation of the NAM architecture trained this model.
Determines which models Client::models returns: it
serves one architecture at a time and defaults to v1.