pub struct WebhookTargetObject {
pub type: Option<String>,
pub address: Option<String>,
pub auth_header: Option<String>,
pub skip_cert_verify: Option<bool>,
pub payload_format: Option<String>,
}Expand description
WebhookTargetObject : The webhook policy target object.
Fields§
§type: Option<String>The webhook target notify type.
address: Option<String>The webhook target address.
auth_header: Option<String>The webhook auth header.
skip_cert_verify: Option<bool>Whether or not to skip cert verify.
payload_format: Option<String>The type of webhook paylod format.
Implementations§
Source§impl WebhookTargetObject
impl WebhookTargetObject
Sourcepub fn new() -> WebhookTargetObject
pub fn new() -> WebhookTargetObject
The webhook policy target object.
Trait Implementations§
Source§impl Clone for WebhookTargetObject
impl Clone for WebhookTargetObject
Source§fn clone(&self) -> WebhookTargetObject
fn clone(&self) -> WebhookTargetObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookTargetObject
impl Debug for WebhookTargetObject
Source§impl Default for WebhookTargetObject
impl Default for WebhookTargetObject
Source§fn default() -> WebhookTargetObject
fn default() -> WebhookTargetObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookTargetObject
impl<'de> Deserialize<'de> for WebhookTargetObject
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WebhookTargetObject
impl PartialEq for WebhookTargetObject
Source§impl Serialize for WebhookTargetObject
impl Serialize for WebhookTargetObject
impl StructuralPartialEq for WebhookTargetObject
Auto Trait Implementations§
impl Freeze for WebhookTargetObject
impl RefUnwindSafe for WebhookTargetObject
impl Send for WebhookTargetObject
impl Sync for WebhookTargetObject
impl Unpin for WebhookTargetObject
impl UnwindSafe for WebhookTargetObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more