#[non_exhaustive]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 (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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.
Implementations
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.
The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken
property must be set.
Creates a new builder-style object to manufacture WebhookAuthConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WebhookAuthConfiguration
impl Send for WebhookAuthConfiguration
impl Sync for WebhookAuthConfiguration
impl Unpin for WebhookAuthConfiguration
impl UnwindSafe for WebhookAuthConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more