pub struct WebhookConfig {
pub url: String,
pub headers: BTreeMap<String, String>,
pub metadata: Map<String, Value>,
pub events: Vec<String>,
}Expand description
请求里的 webhook:Firecrawl 接受一个 URL 字符串,或者带 headers、metadata、events 的对象。
Fields§
§url: String§headers: BTreeMap<String, String>§metadata: Map<String, Value>§events: Vec<String>Trait Implementations§
Source§impl Clone for WebhookConfig
impl Clone for WebhookConfig
Source§impl Debug for WebhookConfig
impl Debug for WebhookConfig
Source§impl<'de> Deserialize<'de> for WebhookConfig
impl<'de> Deserialize<'de> for WebhookConfig
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 WebhookConfig
impl PartialEq for WebhookConfig
Source§impl Serialize for WebhookConfig
impl Serialize for WebhookConfig
impl StructuralPartialEq for WebhookConfig
Auto Trait Implementations§
impl Freeze for WebhookConfig
impl RefUnwindSafe for WebhookConfig
impl Send for WebhookConfig
impl Sync for WebhookConfig
impl Unpin for WebhookConfig
impl UnsafeUnpin for WebhookConfig
impl UnwindSafe for WebhookConfig
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