pub struct WebhookAuthConfiguration {
pub allowed_ip_range: Option<String>,
pub secret_token: Option<String>,
}
Expand description
The authentication applied to incoming webhook trigger requests.
Fields§
§allowed_ip_range: Option<String>
The property used to configure acceptance of webhooks in an IP address range. For IP, only the AllowedIPRange
property must be set. This property must be set to a valid CIDR range.
secret_token: Option<String>
The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken
property must be set.
Trait Implementations§
Source§impl Clone for WebhookAuthConfiguration
impl Clone for WebhookAuthConfiguration
Source§fn clone(&self) -> WebhookAuthConfiguration
fn clone(&self) -> WebhookAuthConfiguration
Returns a copy 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 WebhookAuthConfiguration
impl Debug for WebhookAuthConfiguration
Source§impl Default for WebhookAuthConfiguration
impl Default for WebhookAuthConfiguration
Source§fn default() -> WebhookAuthConfiguration
fn default() -> WebhookAuthConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookAuthConfiguration
impl<'de> Deserialize<'de> for WebhookAuthConfiguration
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 WebhookAuthConfiguration
impl PartialEq for WebhookAuthConfiguration
Source§impl Serialize for WebhookAuthConfiguration
impl Serialize for WebhookAuthConfiguration
impl StructuralPartialEq for WebhookAuthConfiguration
Auto Trait Implementations§
impl Freeze for WebhookAuthConfiguration
impl RefUnwindSafe for WebhookAuthConfiguration
impl Send for WebhookAuthConfiguration
impl Sync for WebhookAuthConfiguration
impl Unpin for WebhookAuthConfiguration
impl UnwindSafe for WebhookAuthConfiguration
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