pub enum PendingWebhook {
Wake {
reason: Option<String>,
session_id: Option<String>,
},
AgentMessage {
message: String,
agent_id: Option<String>,
metadata: Option<Value>,
},
}Expand description
A webhook event waiting to be processed.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingWebhook
impl RefUnwindSafe for PendingWebhook
impl Send for PendingWebhook
impl Sync for PendingWebhook
impl Unpin for PendingWebhook
impl UnsafeUnpin for PendingWebhook
impl UnwindSafe for PendingWebhook
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