pub struct LocationDef {
pub id: String,
pub area_id: String,
pub name: String,
pub kind: String,
pub x: i32,
pub y: i32,
}Expand description
Location definition for topology seeding.
Fields§
§id: String§area_id: String§name: String§kind: String§x: i32§y: i32Trait Implementations§
Source§impl Clone for LocationDef
impl Clone for LocationDef
Source§fn clone(&self) -> LocationDef
fn clone(&self) -> LocationDef
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 LocationDef
impl Debug for LocationDef
Source§impl<'de> Deserialize<'de> for LocationDef
impl<'de> Deserialize<'de> for LocationDef
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 LocationDef
impl RefUnwindSafe for LocationDef
impl Send for LocationDef
impl Sync for LocationDef
impl Unpin for LocationDef
impl UnsafeUnpin for LocationDef
impl UnwindSafe for LocationDef
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