pub struct Deployment {Show 15 fields
pub id: u64,
pub app: String,
pub trigger: Trigger,
pub by: String,
pub status: Status,
pub requested: Option<String>,
pub rollback_of: Option<u64>,
pub commit: Option<Commit>,
pub image: Option<String>,
pub digest: Option<String>,
pub error: Option<String>,
pub created_at: u64,
pub started_at: Option<u64>,
pub finished_at: Option<u64>,
pub rendered: Option<Rendered>,
}Expand description
One deploy of an app.
Fields§
§id: u64§app: String§trigger: Trigger§by: StringThe caller (a user, an API token, local, webhook:github).
status: Status§requested: Option<String>What a webhook said was pushed (refs/heads/main abc123).
rollback_of: Option<u64>A rollback: the deployment whose image and settings it restores.
commit: Option<Commit>§image: Option<String>§digest: Option<String>§error: Option<String>§created_at: u64Unix milliseconds.
started_at: Option<u64>§finished_at: Option<u64>§rendered: Option<Rendered>The service as deployed: what a rollback puts back.
Implementations§
Trait Implementations§
Source§impl Clone for Deployment
impl Clone for Deployment
Source§impl Debug for Deployment
impl Debug for Deployment
Source§impl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
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 Deployment
impl PartialEq for Deployment
Source§impl Serialize for Deployment
impl Serialize for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnsafeUnpin for Deployment
impl UnwindSafe for Deployment
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