pub struct DrawingStroke {
pub id: Option<String>,
pub user_id: Option<String>,
pub color: String,
pub width: Number,
pub points: Vec<[Number; 2]>,
}Expand description
Wekan v12.57: models/lib/cardDrawing.js.
Fields§
§id: Option<String>§user_id: Option<String>§color: String§width: Number§points: Vec<[Number; 2]>Trait Implementations§
Source§impl Clone for DrawingStroke
impl Clone for DrawingStroke
Source§impl Debug for DrawingStroke
impl Debug for DrawingStroke
Source§impl<'de> Deserialize<'de> for DrawingStroke
impl<'de> Deserialize<'de> for DrawingStroke
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 Eq for DrawingStroke
Source§impl PartialEq for DrawingStroke
impl PartialEq for DrawingStroke
Source§impl Serialize for DrawingStroke
impl Serialize for DrawingStroke
impl StructuralPartialEq for DrawingStroke
Auto Trait Implementations§
impl Freeze for DrawingStroke
impl RefUnwindSafe for DrawingStroke
impl Send for DrawingStroke
impl Sync for DrawingStroke
impl Unpin for DrawingStroke
impl UnsafeUnpin for DrawingStroke
impl UnwindSafe for DrawingStroke
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