pub struct GitOpsDeploy {
pub automated: Option<bool>,
pub deployed_at: Option<String>,
pub id: Option<i32>,
pub revision: Option<String>,
pub started_at: Option<String>,
}Fields§
§automated: Option<bool>Automated is whether CD started this deploy itself, from its own polling of the tracked git ref (initiatedBy.automated), rather than someone asking for it.
deployed_at: Option<String>DeployedAt is when the apply finished, RFC 3339. Absent when CD recorded none.
id: Option<i32>ID is CD’s own sequence number for this deploy (status.history[].id). It increases with every applied revision, so the largest id in history is the most recent deploy — which is the first entry, since the list is reversed.
revision: Option<String>Revision is the git commit this deploy applied, as CD recorded it.
started_at: Option<String>StartedAt is when CD began applying the revision (deployStartedAt), RFC 3339. Absent when CD recorded none.
Implementations§
Source§impl GitOpsDeploy
impl GitOpsDeploy
pub fn new() -> GitOpsDeploy
Trait Implementations§
Source§impl Clone for GitOpsDeploy
impl Clone for GitOpsDeploy
Source§fn clone(&self) -> GitOpsDeploy
fn clone(&self) -> GitOpsDeploy
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 GitOpsDeploy
impl Debug for GitOpsDeploy
Source§impl Default for GitOpsDeploy
impl Default for GitOpsDeploy
Source§fn default() -> GitOpsDeploy
fn default() -> GitOpsDeploy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitOpsDeploy
impl<'de> Deserialize<'de> for GitOpsDeploy
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
Source§impl PartialEq for GitOpsDeploy
impl PartialEq for GitOpsDeploy
Source§impl Serialize for GitOpsDeploy
impl Serialize for GitOpsDeploy
impl StructuralPartialEq for GitOpsDeploy
Auto Trait Implementations§
impl Freeze for GitOpsDeploy
impl RefUnwindSafe for GitOpsDeploy
impl Send for GitOpsDeploy
impl Sync for GitOpsDeploy
impl Unpin for GitOpsDeploy
impl UnsafeUnpin for GitOpsDeploy
impl UnwindSafe for GitOpsDeploy
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