pub struct AreaDef {
pub id: String,
pub region_id: String,
pub name: String,
pub kind: String,
pub danger_rating: i32,
}Expand description
Area definition for topology seeding.
Fields§
§id: String§region_id: String§name: String§kind: String§danger_rating: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for AreaDef
impl<'de> Deserialize<'de> for AreaDef
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 AreaDef
impl RefUnwindSafe for AreaDef
impl Send for AreaDef
impl Sync for AreaDef
impl Unpin for AreaDef
impl UnsafeUnpin for AreaDef
impl UnwindSafe for AreaDef
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