pub struct Deploy {
pub commit: Option<DeployCommit>,
pub created_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub id: Option<String>,
pub image: Option<DeployImage>,
pub started_at: Option<DateTime<Utc>>,
pub status: Option<DeployStatus>,
pub trigger: Option<String>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
Deploy
JSON schema
{
"type": "object",
"properties": {
"commit": {
"type": "object",
"properties": {
"createdAt": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"finishedAt": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string"
},
"image": {
"description": "Image information used when creating the deploy.
Not present for Git-backed deploys",
"type": "object",
"properties": {
"ref": {
"description": "Image reference used when creating the deploy",
"type": "string"
},
"registryCredential": {
"description": "Name of credential used to pull the image, if
provided",
"type": "string"
},
"sha": {
"description": "SHA that the image reference was resolved to
when creating the deploy",
"type": "string"
}
}
},
"startedAt": {
"type": "string",
"format": "date-time"
},
"status": {
"$ref": "#/components/schemas/deployStatus"
},
"trigger": {
"type": "string"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
}
}Fields§
§commit: Option<DeployCommit>§created_at: Option<DateTime<Utc>>§finished_at: Option<DateTime<Utc>>§id: Option<String>§image: Option<DeployImage>§started_at: Option<DateTime<Utc>>§status: Option<DeployStatus>§trigger: Option<String>§updated_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Deploy
impl<'de> Deserialize<'de> for Deploy
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 Deploy
impl RefUnwindSafe for Deploy
impl Send for Deploy
impl Sync for Deploy
impl Unpin for Deploy
impl UnsafeUnpin for Deploy
impl UnwindSafe for Deploy
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