pub struct EnvironmentRow {
pub id: Option<String>,
pub name: Option<String>,
pub services: Option<Vec<String>>,
pub status: Option<String>,
pub type: Option<String>,
pub updated_at: Option<String>,
}Fields§
§id: Option<String>ID is the environment’s name, which is also its identity — an environment is derived from the apps that target it, so it has no id of its own.
name: Option<String>Name is the environment’s name as an app declared it.
services: Option<Vec<String>>Services are the apps that target this environment, by name.
status: Option<String>Status rolls up the real states of this environment’s apps: degraded, active, idle or empty.
type: Option<String>Type buckets the name for display: production, staging, development or custom.
updated_at: Option<String>UpdatedAt is when any of them last changed, RFC3339 UTC; empty when unset.
Implementations§
Source§impl EnvironmentRow
impl EnvironmentRow
pub fn new() -> EnvironmentRow
Trait Implementations§
Source§impl Clone for EnvironmentRow
impl Clone for EnvironmentRow
Source§fn clone(&self) -> EnvironmentRow
fn clone(&self) -> EnvironmentRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvironmentRow
impl Debug for EnvironmentRow
Source§impl Default for EnvironmentRow
impl Default for EnvironmentRow
Source§fn default() -> EnvironmentRow
fn default() -> EnvironmentRow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentRow
impl<'de> Deserialize<'de> for EnvironmentRow
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
Source§impl PartialEq for EnvironmentRow
impl PartialEq for EnvironmentRow
Source§impl Serialize for EnvironmentRow
impl Serialize for EnvironmentRow
impl StructuralPartialEq for EnvironmentRow
Auto Trait Implementations§
impl Freeze for EnvironmentRow
impl RefUnwindSafe for EnvironmentRow
impl Send for EnvironmentRow
impl Sync for EnvironmentRow
impl Unpin for EnvironmentRow
impl UnsafeUnpin for EnvironmentRow
impl UnwindSafe for EnvironmentRow
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