[][src]Struct ttstack::model::Env

pub struct Env {
    pub id: Id,
    pub name: Option<String>,
    pub start_timestamp: u64,
    pub end_timestamp: u64,
    pub vm_set: Vec<Id>,
    pub state: EnvState,
}

Core unit of TT.

Fields

id: Id

UUID of the ENV

name: Option<String>

Name of the ENV.

start_timestamp: u64

The start timestamp of this ENV, can NOT be changed.

end_timestamp: u64

The end timestamp of this ENV, permit use to change it .

vm_set: Vec<Id>

All VmIds under this ENV.

state: EnvState

Info about the state of ENV.

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> From<T> for T[src]

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

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.