14 lines
345 B
Rust
14 lines
345 B
Rust
use async_graphql::InputObject;
|
|
use serde::{Deserialize, Serialize};
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, InputObject)]
|
|
pub struct GetItemQuery {
|
|
pub item_id: Uuid,
|
|
}
|
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, InputObject)]
|
|
pub struct GetItemsQuery {
|
|
pub project_id: Uuid,
|
|
}
|