[−][src]Struct ttserver_def::EnvMeta
元信息, 用于展示
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]
fn deserialize<__D>(
__deserializer: __D
) -> Result<EnvMeta, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<EnvMeta, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for EnvMeta
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,