pub struct DeployRecord {
pub created: Option<bool>,
pub created_at: Option<i32>,
pub deploy_id: Option<String>,
pub reason: Option<String>,
pub recorded: Option<bool>,
pub param_self: Option<bool>,
}Fields§
§created: Option<bool>Created reports whether this call recorded a new attribution edge (201) or found an existing one (200). Absent when nothing was recorded.
created_at: Option<i32>CreatedAt is when the edge was first recorded, in unix seconds. Absent when nothing was recorded.
deploy_id: Option<String>DeployID is the attribution edge’s handle. Absent when nothing was recorded.
reason: Option<String>Reason says why nothing was attributed. Present only when recorded is false.
recorded: Option<bool>Recorded reports whether the deploy was attributed to an author at all. False is the ordinary answer for a project built from no repository, or from one no author has verified — never an error, so a deploy path can fire this unconditionally.
param_self: Option<bool>Self reports that the deploying org IS the author’s org. Such a deploy is recorded for provenance but excluded from accrual. Absent when nothing was recorded.
Implementations§
Source§impl DeployRecord
impl DeployRecord
pub fn new() -> DeployRecord
Trait Implementations§
Source§impl Clone for DeployRecord
impl Clone for DeployRecord
Source§fn clone(&self) -> DeployRecord
fn clone(&self) -> DeployRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more