1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// @generated by `cargo xtask codegen` — do not edit.
// source: lexicons/repo/artifact.json (sh.tangled.repo.artifact)
#![allow(clippy::all)]
pub const NSID: &str = "sh.tangled.repo.artifact";
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
pub struct Record {
/// Record type discriminator (`$type`); set to [`NSID`] when writing.
#[serde(
rename = "$type",
skip_serializing_if = "Option::is_none",
default
)]
pub r#type: Option<String>,
/// the artifact
pub artifact: crate::types::BlobRef,
/// time of creation of this artifact
#[serde(rename = "createdAt")]
pub created_at: String,
/// name of the artifact
pub name: String,
/// repo that this artifact is being uploaded to
#[serde(skip_serializing_if = "Option::is_none", default)]
pub repo: Option<String>,
#[serde(
rename = "repoDid",
skip_serializing_if = "Option::is_none",
default
)]
pub repo_did: Option<String>,
/// hash of the tag object that this artifact is attached to (only annotated tags are supported)
pub tag: serde_json::Value,
/// Unknown fields, preserved across read-modify-write round-trips.
#[serde(flatten)]
pub extra: serde_json::Map<String, serde_json::Value>,
}