chore: add payload to get response (#214)

This commit is contained in:
Medcl
2025-02-26 20:12:35 +08:00
committed by GitHub
parent eab40effd6
commit c18503cb70

View File

@@ -1,10 +1,12 @@
use serde::{Deserialize, Serialize};
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct GetResponse {
pub _id: String,
pub _source: Source,
pub result: String,
pub payload: Option<Value>,
}
#[derive(Debug, Serialize, Deserialize)]