pub struct NormalizedProjectRevisionHook {Show 18 fields
pub config_key: String,
pub created_at: Option<String>,
pub hook: String,
pub id: Option<String>,
pub project_revision_id: Option<String>,
pub updated_at: Option<String>,
pub web_hook_config_auth_api_key_in: Option<String>,
pub web_hook_config_auth_api_key_name: Option<String>,
pub web_hook_config_auth_api_key_value: Option<String>,
pub web_hook_config_auth_basic_auth_password: Option<String>,
pub web_hook_config_auth_basic_auth_user: Option<String>,
pub web_hook_config_auth_type: Option<String>,
pub web_hook_config_body: Option<String>,
pub web_hook_config_can_interrupt: Option<bool>,
pub web_hook_config_method: Option<String>,
pub web_hook_config_response_ignore: Option<bool>,
pub web_hook_config_response_parse: Option<bool>,
pub web_hook_config_url: Option<String>,
}Fields§
§config_key: StringThe Hooks Config Key
created_at: Option<String>The Project’s Revision Creation Date
hook: StringThe Hook Type
id: Option<String>ID of the entry
project_revision_id: Option<String>The Revision’s ID this schema belongs to
updated_at: Option<String>Last Time Project’s Revision was Updated
web_hook_config_auth_api_key_in: Option<String>Whether to send the API Key in the HTTP Header or as a HTTP Cookie
web_hook_config_auth_api_key_name: Option<String>The name of the api key
web_hook_config_auth_api_key_value: Option<String>The value of the api key
web_hook_config_auth_basic_auth_password: Option<String>The password to be sent in the HTTP Basic Auth Header
web_hook_config_auth_basic_auth_user: Option<String>The username to be sent in the HTTP Basic Auth Header
web_hook_config_auth_type: Option<String>HTTP Auth Method to use for the Web-Hook
web_hook_config_body: Option<String>URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads.
web_hook_config_can_interrupt: Option<bool>If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format.
web_hook_config_method: Option<String>The HTTP method to use (GET, POST, etc) for the Web-Hook
web_hook_config_response_ignore: Option<bool>Whether to ignore the Web Hook response
web_hook_config_response_parse: Option<bool>Whether to parse the Web Hook response
web_hook_config_url: Option<String>The URL the Web-Hook should call
Implementations§
Source§impl NormalizedProjectRevisionHook
impl NormalizedProjectRevisionHook
pub fn new(config_key: String, hook: String) -> NormalizedProjectRevisionHook
Trait Implementations§
Source§impl Clone for NormalizedProjectRevisionHook
impl Clone for NormalizedProjectRevisionHook
Source§fn clone(&self) -> NormalizedProjectRevisionHook
fn clone(&self) -> NormalizedProjectRevisionHook
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for NormalizedProjectRevisionHook
impl Default for NormalizedProjectRevisionHook
Source§fn default() -> NormalizedProjectRevisionHook
fn default() -> NormalizedProjectRevisionHook
Source§impl<'de> Deserialize<'de> for NormalizedProjectRevisionHook
impl<'de> Deserialize<'de> for NormalizedProjectRevisionHook
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for NormalizedProjectRevisionHook
impl PartialEq for NormalizedProjectRevisionHook
Source§fn eq(&self, other: &NormalizedProjectRevisionHook) -> bool
fn eq(&self, other: &NormalizedProjectRevisionHook) -> bool
self and other values to be equal, and is used by ==.