pub struct EnvironmentMedium {
pub environment_type: EnvironmentType,
pub current_state: EnvironmentState,
pub properties: EnvironmentProperties,
pub physics: EnvironmentPhysics,
pub inhabitants: Vec<String>,
pub boundaries: Vec<String>,
pub weather_history: Vec<WeatherEvent>,
}Expand description
The operational environment as a living medium.
Fields§
§environment_type: EnvironmentType§current_state: EnvironmentState§properties: EnvironmentProperties§physics: EnvironmentPhysics§inhabitants: Vec<String>§boundaries: Vec<String>§weather_history: Vec<WeatherEvent>Trait Implementations§
Source§impl Clone for EnvironmentMedium
impl Clone for EnvironmentMedium
Source§fn clone(&self) -> EnvironmentMedium
fn clone(&self) -> EnvironmentMedium
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvironmentMedium
impl Debug for EnvironmentMedium
Source§impl<'de> Deserialize<'de> for EnvironmentMedium
impl<'de> Deserialize<'de> for EnvironmentMedium
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnvironmentMedium
impl RefUnwindSafe for EnvironmentMedium
impl Send for EnvironmentMedium
impl Sync for EnvironmentMedium
impl Unpin for EnvironmentMedium
impl UnsafeUnpin for EnvironmentMedium
impl UnwindSafe for EnvironmentMedium
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