pub struct MapSchema {
pub name: String,
pub skin: String,
pub x: i32,
pub y: i32,
pub content: Option<Box<MapContentSchema>>,
}Fields§
§name: StringName of the map.
skin: StringSkin of the map.
x: i32Position X of the map.
y: i32Position Y of the map.
content: Option<Box<MapContentSchema>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapSchema
impl<'de> Deserialize<'de> for MapSchema
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
impl StructuralPartialEq for MapSchema
Auto Trait Implementations§
impl Freeze for MapSchema
impl RefUnwindSafe for MapSchema
impl Send for MapSchema
impl Sync for MapSchema
impl Unpin for MapSchema
impl UnwindSafe for MapSchema
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