pub struct ProjectsDeployStart {
pub commit: Option<String>,
pub slug: Option<String>,
}Fields§
§commit: Option<String>Commit is the git sha this build was produced from, recorded on the deployment so a released site can be traced back to its source. Optional. It is the ONLY field here, and deliberately: the predecessor also accepted source and branch. source was the Content-Type discriminator this split removed. branch was accepted and DISCARDED — there is no branch column on a deployment, and the lifecycle event derives the branch from the project’s own linked one — so declaring it would publish a settable field that does nothing into the document, every generated SDK and the MCP input schema. A field that is read by nothing is not described as if it were. url:\"-\" because zip binds the query string OVER a decoded body, so without it a ?commit= the caller never sent would outrank the one it did.
slug: Option<String>Slug is the site to deploy, from the path.
Implementations§
Source§impl ProjectsDeployStart
impl ProjectsDeployStart
pub fn new() -> ProjectsDeployStart
Trait Implementations§
Source§impl Clone for ProjectsDeployStart
impl Clone for ProjectsDeployStart
Source§fn clone(&self) -> ProjectsDeployStart
fn clone(&self) -> ProjectsDeployStart
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more