pub struct ShapeType {
pub color: String,
pub x: i64,
pub y: i64,
pub shapesize: i64,
}Expand description
Structure matching the ShapeType DDS data model.
Fields§
§color: StringThe color of the shape (used as the key field)
x: i64The X coordinate of the shape
y: i64The Y coordinate of the shape
shapesize: i64The size of the shape
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShapeType
impl<'de> Deserialize<'de> for ShapeType
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 ShapeType
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnwindSafe for ShapeType
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