chemlib/dto/assignment_request.rs
use serde::{Deserialize, Serialize};
use serde_json;
use uuid::Uuid;
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct AssignmentRequest {
pub id: Option<Uuid>,
pub ver: Option<i32>,
pub description: serde_json::Value,
pub expected_result: serde_json::Value,
pub composition: Uuid,
pub name: String,
pub organization: Uuid,
pub author: Uuid,
pub available_below: Uuid,
}