pub struct DeployHistoryRecord {Show 22 fields
pub id: String,
pub timestamp: DateTime<Utc>,
pub env: String,
pub target: String,
pub target_kind: String,
pub status: String,
pub services: Vec<String>,
pub git_sha: Option<String>,
pub project_version: Option<String>,
pub xbp_version: Option<String>,
pub runtime_env_redacted: Option<bool>,
pub digests: BTreeMap<String, String>,
pub kubernetes_context: Option<String>,
pub namespace: Option<String>,
pub summary: String,
pub error: Option<String>,
pub error_code: Option<String>,
pub phase: Option<String>,
pub diagnostics: Vec<String>,
pub provider: Option<String>,
pub destination: Option<String>,
pub plan: DeployPlan,
}Fields§
§id: String§timestamp: DateTime<Utc>§env: String§target: String§target_kind: String§status: String§services: Vec<String>§git_sha: Option<String>§project_version: Option<String>§xbp_version: Option<String>XBP CLI version that produced this record (semver string).
runtime_env_redacted: Option<bool>When true, plan.services[].runtime_env values that looked secret were
replaced with xbp:deploy:{id}:{NAME}:{hash} placeholders; plaintexts
live in xbp.app D1 (cli_deploy_secret) when the operator was logged in.
digests: BTreeMap<String, String>§kubernetes_context: Option<String>§namespace: Option<String>§summary: String§error: Option<String>§error_code: Option<String>Stable machine-readable failure class (e.g. opennext_wsl_failed).
phase: Option<String>Deploy phase where the attempt stopped (oci_build, cf_deploy, …).
diagnostics: Vec<String>Short operator-facing diagnostics (remediation + first error line).
provider: Option<String>Primary provider from the first plan step (kubernetes, cloudflare-worker, …).
destination: Option<String>Primary destination (kubernetes, cloudflare, …).
plan: DeployPlanTrait Implementations§
Source§impl Clone for DeployHistoryRecord
impl Clone for DeployHistoryRecord
Source§fn clone(&self) -> DeployHistoryRecord
fn clone(&self) -> DeployHistoryRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeployHistoryRecord
impl Debug for DeployHistoryRecord
Source§impl<'de> Deserialize<'de> for DeployHistoryRecord
impl<'de> Deserialize<'de> for DeployHistoryRecord
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
Auto Trait Implementations§
impl Freeze for DeployHistoryRecord
impl RefUnwindSafe for DeployHistoryRecord
impl Send for DeployHistoryRecord
impl Sync for DeployHistoryRecord
impl Unpin for DeployHistoryRecord
impl UnsafeUnpin for DeployHistoryRecord
impl UnwindSafe for DeployHistoryRecord
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