pub struct Biome {
pub id: u32,
pub name: String,
pub category: String,
pub temperature: f32,
pub precipitation: Option<String>,
pub dimension: String,
pub display_name: String,
pub color: i32,
pub rainfall: Option<f32>,
pub depth: Option<f32>,
pub has_precipitation: Option<bool>,
}
Fields§
§id: u32
§name: String
§category: String
§temperature: f32
§precipitation: Option<String>
§dimension: String
§display_name: String
§color: i32
§rainfall: Option<f32>
§depth: Option<f32>
§has_precipitation: Option<bool>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Biome
impl<'de> Deserialize<'de> for Biome
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 Biome
impl RefUnwindSafe for Biome
impl Send for Biome
impl Sync for Biome
impl Unpin for Biome
impl UnwindSafe for Biome
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