pub struct ProjectsRelease {
pub active: Option<bool>,
pub bytes: Option<i32>,
pub created_at: Option<i32>,
pub objects: Option<i32>,
pub release_id: Option<String>,
pub slug: Option<String>,
pub source: Option<String>,
pub url: Option<String>,
}Fields§
§active: Option<bool>Active is whether this is the release the site is SERVING right now. Exactly one release of a site is active; the others are kept so they can be activated again, until retention reclaims them.
bytes: Option<i32>Bytes is their total size in bytes.
created_at: Option<i32>CreatedAt is when the release was cut, as Unix seconds — not when it was last activated.
objects: Option<i32>Objects is how many files the release holds.
release_id: Option<String>ReleaseID is derived from a DIGEST of the release’s own manifest, so identical content is the same release and a release can never be confused with another one. Activating an older id IS the rollback.
slug: Option<String>Slug is the site this release belongs to.
source: Option<String>Source is what the release was cut from — the build output or upload it was promoted out of.
url: Option<String>URL is where the site serves. Present only on the ACTIVE release, since an inactive one is not answering anywhere.
Implementations§
Source§impl ProjectsRelease
impl ProjectsRelease
pub fn new() -> ProjectsRelease
Trait Implementations§
Source§impl Clone for ProjectsRelease
impl Clone for ProjectsRelease
Source§fn clone(&self) -> ProjectsRelease
fn clone(&self) -> ProjectsRelease
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more