pub struct Env {
pub id: Id,
pub name: Option<String>,
pub start_timestamp: u64,
pub end_timestamp: u64,
pub vm_set: HashSet<Id>,
pub state: EnvState,
}Expand description
The base unit of TT, stands for a complete workspace for client.
Fields§
§id: IdUUID of the ENV
name: Option<String>Name of the ENV.
start_timestamp: u64The start timestamp of this ENV, can NOT be changed.
end_timestamp: u64The end timestamp of this ENV, permit use to change it .
vm_set: HashSet<Id>All VmIds under this ENV.
state: EnvStateInfo about the state of ENV.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Env
impl RefUnwindSafe for Env
impl Send for Env
impl Sync for Env
impl Unpin for Env
impl UnwindSafe for Env
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