pub struct ProjectRevisionHook {Show 15 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_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_url: Option<String>
The URL the Web-Hook should call
Implementations
sourceimpl ProjectRevisionHook
impl ProjectRevisionHook
pub fn new(config_key: String, hook: String) -> ProjectRevisionHook
Trait Implementations
sourceimpl Clone for ProjectRevisionHook
impl Clone for ProjectRevisionHook
sourcefn clone(&self) -> ProjectRevisionHook
fn clone(&self) -> ProjectRevisionHook
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 ProjectRevisionHook
impl Debug for ProjectRevisionHook
sourceimpl<'de> Deserialize<'de> for ProjectRevisionHook
impl<'de> Deserialize<'de> for ProjectRevisionHook
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<ProjectRevisionHook> for ProjectRevisionHook
impl PartialEq<ProjectRevisionHook> for ProjectRevisionHook
sourcefn eq(&self, other: &ProjectRevisionHook) -> bool
fn eq(&self, other: &ProjectRevisionHook) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProjectRevisionHook) -> bool
fn ne(&self, other: &ProjectRevisionHook) -> bool
This method tests for !=
.
sourceimpl Serialize for ProjectRevisionHook
impl Serialize for ProjectRevisionHook
impl StructuralPartialEq for ProjectRevisionHook
Auto Trait Implementations
impl RefUnwindSafe for ProjectRevisionHook
impl Send for ProjectRevisionHook
impl Sync for ProjectRevisionHook
impl Unpin for ProjectRevisionHook
impl UnwindSafe for ProjectRevisionHook
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