Struct ory_client::models::normalized_project_revision_hook::NormalizedProjectRevisionHook
source · [−]pub struct NormalizedProjectRevisionHook {Show 16 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_method: Option<String>,
pub web_hook_config_response_ignore: Option<bool>,
pub web_hook_config_url: Option<String>,
}
Fields
config_key: String
The Hooks Config Key
created_at: Option<String>
The Project’s Revision Creation Date
hook: String
The Hook Type
id: Option<String>
project_revision_id: Option<String>
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_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_url: Option<String>
The URL the Web-Hook should call
Implementations
sourceimpl NormalizedProjectRevisionHook
impl NormalizedProjectRevisionHook
pub fn new(config_key: String, hook: String) -> NormalizedProjectRevisionHook
Trait Implementations
sourceimpl Clone for NormalizedProjectRevisionHook
impl Clone for NormalizedProjectRevisionHook
sourcefn clone(&self) -> NormalizedProjectRevisionHook
fn clone(&self) -> NormalizedProjectRevisionHook
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NormalizedProjectRevisionHook
impl Debug for NormalizedProjectRevisionHook
sourceimpl<'de> Deserialize<'de> for NormalizedProjectRevisionHook
impl<'de> Deserialize<'de> for NormalizedProjectRevisionHook
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<NormalizedProjectRevisionHook> for NormalizedProjectRevisionHook
impl PartialEq<NormalizedProjectRevisionHook> for NormalizedProjectRevisionHook
sourcefn eq(&self, other: &NormalizedProjectRevisionHook) -> bool
fn eq(&self, other: &NormalizedProjectRevisionHook) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NormalizedProjectRevisionHook) -> bool
fn ne(&self, other: &NormalizedProjectRevisionHook) -> bool
This method tests for !=
.
impl StructuralPartialEq for NormalizedProjectRevisionHook
Auto Trait Implementations
impl RefUnwindSafe for NormalizedProjectRevisionHook
impl Send for NormalizedProjectRevisionHook
impl Sync for NormalizedProjectRevisionHook
impl Unpin for NormalizedProjectRevisionHook
impl UnwindSafe for NormalizedProjectRevisionHook
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more