[][src]Struct coder::models::Environment

pub struct Environment {
    pub id: String,
    pub name: String,
    pub username: String,
    pub image_id: String,
    pub image_tag: String,
    pub image_digest: String,
    pub organization_id: String,
    pub user_id: String,
    pub last_built_at: DateTime<Utc>,
    pub cpu_cores: f64,
    pub memory_gb: i64,
    pub disk_gb: i64,
    pub gpus: i64,
    pub latest_stat: EnvironmentStat,
    pub updating: bool,
    pub rebuild_messages: Vec<RebuildMessage>,
    pub last_opened_at: DateTime<Utc>,
    pub last_connection_at: DateTime<Utc>,
    pub auto_off_threshold: Duration,
    pub service_ids: Vec<String>,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
}

Fields

id: Stringname: Stringusername: Stringimage_id: Stringimage_tag: Stringimage_digest: Stringorganization_id: Stringuser_id: Stringlast_built_at: DateTime<Utc>cpu_cores: f64memory_gb: i64disk_gb: i64gpus: i64latest_stat: EnvironmentStatupdating: boolrebuild_messages: Vec<RebuildMessage>last_opened_at: DateTime<Utc>last_connection_at: DateTime<Utc>auto_off_threshold: Durationservice_ids: Vec<String>created_at: DateTime<Utc>updated_at: DateTime<Utc>

Trait Implementations

impl Clone for Environment[src]

impl Debug for Environment[src]

impl<'de> Deserialize<'de> for Environment[src]

impl PartialEq<Environment> for Environment[src]

impl Serialize for Environment[src]

impl StructuralPartialEq for Environment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.