tangled-api 0.1.0

Lexicon-generated XRPC client for Tangled and AT Protocol APIs
Documentation
// @generated by `cargo xtask codegen` — do not edit.
// source: lexicons/pipeline/status.json (sh.tangled.pipeline.status)

#![allow(clippy::all)]

pub const NSID: &str = "sh.tangled.pipeline.status";

/// DEPRECATED: use sh.tangled.ci.pipeline instead
#[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>,
    /// time of creation of this status update
    #[serde(rename = "createdAt")]
    pub created_at: String,
    /// error message if failed
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub error: Option<String>,
    /// exit code if failed
    #[serde(
        rename = "exitCode",
        skip_serializing_if = "Option::is_none",
        default
    )]
    pub exit_code: Option<i64>,
    /// ATURI of the pipeline
    pub pipeline: String,
    /// status of the workflow
    pub status: String,
    /// name of the workflow within this pipeline
    pub workflow: String,
    /// Unknown fields, preserved across read-modify-write round-trips.
    #[serde(flatten)]
    pub extra: serde_json::Map<String, serde_json::Value>,
}