add CreateHookOptionConfig
required properties as fields
This commit is contained in:
parent
25794c3e1d
commit
fd0c22a1c6
2 changed files with 11 additions and 0 deletions
|
@ -500,6 +500,8 @@ pub enum CreateHookOptionType {
|
|||
/// required are "content_type" and "url" Required
|
||||
#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
|
||||
pub struct CreateHookOptionConfig {
|
||||
pub content_type: String,
|
||||
pub url: url::Url,
|
||||
#[serde(flatten)]
|
||||
pub additional: BTreeMap<String, String>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue