pub struct Webhooks {
pub listen: Option<String>,
pub tls: A2aTls,
pub default_auth: Option<WebhookAuth>,
}Expand description
The webhook inbound HTTP surface (RFC 0027): a dedicated listener serving the
webhook start nodes and wait: {on: webhook} callbacks. Auth is per
node (each webhook declares its own verification); a listener-wide default
may be set here and is used by nodes that declare no auth.
Fields§
§listen: Option<String>https://host:port (loopback http:// for dev). Required when any
webhook start node or wait: {on: webhook} is used.
tls: A2aTls§default_auth: Option<WebhookAuth>A default auth applied to webhook nodes that declare none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Webhooks
impl<'de> Deserialize<'de> for Webhooks
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
impl StructuralPartialEq for Webhooks
Auto Trait Implementations§
impl Freeze for Webhooks
impl RefUnwindSafe for Webhooks
impl Send for Webhooks
impl Sync for Webhooks
impl Unpin for Webhooks
impl UnsafeUnpin for Webhooks
impl UnwindSafe for Webhooks
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