pub struct ProjectsComplete {
pub bytes: Option<i32>,
pub commit: Option<String>,
pub files: Option<i32>,
pub id: Option<String>,
pub keys: Option<Vec<String>>,
pub live_url: Option<String>,
pub message: Option<String>,
pub slug: Option<String>,
pub status: Option<String>,
}Fields§
§bytes: Option<i32>Bytes is their total size in bytes.
commit: Option<String>Commit is the revision that was built, recorded on the deployment.
files: Option<i32>Files is how many objects CI published.
id: Option<String>ID is the queued deployment to complete, from the path.
keys: Option<Vec<String>>Keys is the manifest CI just uploaded, RELATIVE to the deployment prefix. It is what replaces aws s3 sync --delete: an upload grant authorizes writes only, so CI cannot remove a file, and cloud reconciles the prefix against this list instead (grant.go). Omit it and nothing is deleted — the prefix only grows, which is the old pre-grant behaviour and a safe default.
live_url: Option<String>LiveURL is a HINT at the address the site should serve at. The public host is claimed by cloud first, so this can refine the URL a deployment reports but can never assert a subdomain another tenant holds.
message: Option<String>Message is what happened, in words — on an error completion, why it failed.
slug: Option<String>Slug is the project the deployment belongs to, from the path.
status: Option<String>Status is how the build ended: live if it succeeded, error if it did not. Nothing else is accepted.
Implementations§
Source§impl ProjectsComplete
impl ProjectsComplete
pub fn new() -> ProjectsComplete
Trait Implementations§
Source§impl Clone for ProjectsComplete
impl Clone for ProjectsComplete
Source§fn clone(&self) -> ProjectsComplete
fn clone(&self) -> ProjectsComplete
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more