[][src]Struct ttserver_def::EnvMeta

pub struct EnvMeta {
    pub id: String,
    pub start_timestamp: u64,
    pub end_timestamp: u64,
    pub vm_cnt: usize,
    pub is_stopped: bool,
}

元信息, 用于展示

Fields

id: String

保证全局唯一

start_timestamp: u64

起始时间设定之后不允许变更

end_timestamp: u64

结束时间可以变更, 用以控制 Vm 的生命周期

vm_cnt: usize

内部的 Vm 数量

is_stopped: bool

是否处于停止状态 tt env stop ...

Trait Implementations

impl Clone for EnvMeta[src]

impl Debug for EnvMeta[src]

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

impl Serialize for EnvMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for EnvMeta

impl Send for EnvMeta

impl Sync for EnvMeta

impl Unpin for EnvMeta

impl UnwindSafe for EnvMeta

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.