pub struct Deployment {Show 16 fields
pub schema: String,
pub kind: String,
pub id: String,
pub title: String,
pub description: Option<String>,
pub status: Option<Status>,
pub application: String,
pub build: Build,
pub listen: Listen,
pub health: HealthRoutes,
pub resources: Resources,
pub machines: Machines,
pub region: String,
pub budgets: Budgets,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
One deployment of this repository’s executable, as the canonical object states it.
Fields§
§schema: StringThe format version; a version this executable does not read is refused.
kind: StringAlways deployment.
id: StringThe identity within the repository.
title: StringOne line naming it.
description: Option<String>One line: what it serves and to whom.
status: Option<Status>Where it stands.
application: StringThe application’s name: what the deployment is known by in a listing.
build: BuildWhat is shipped and what it is built from.
listen: ListenThe address the process listens on.
health: HealthRoutesThe routes a platform polls.
resources: ResourcesWhat one machine is granted.
machines: MachinesHow many machines run.
region: StringThe region they run in.
budgets: BudgetsThe measured figures it is held to.
created_at: Option<String>When the object was written.
updated_at: Option<String>When it was last changed.
Implementations§
Source§impl Deployment
impl Deployment
Trait Implementations§
Source§impl Clone for Deployment
impl Clone for Deployment
Source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§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>,
impl Eq for Deployment
Source§impl JsonSchema for Deployment
impl JsonSchema for Deployment
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Ordered for Deployment
A deployment is presented by its id, which is its identity within the repository; the
title is prose and two deployments may well be given the same one.
impl Ordered for Deployment
A deployment is presented by its id, which is its identity within the repository; the title is prose and two deployments may well be given the same one.
Source§impl PartialEq for Deployment
impl PartialEq for Deployment
Source§fn eq(&self, other: &Deployment) -> bool
fn eq(&self, other: &Deployment) -> bool
self and other values to be equal, and is used by ==.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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.