outbox_pattern_processor/
http_destination.rs

1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use std::collections::HashMap;

#[derive(Deserialize, Serialize, Debug, FromRow, Clone, PartialEq)]
pub struct HttpDestination {
    pub url: String,
    pub headers: Option<HashMap<String, String>>,
    pub method: Option<String>,
}