pub struct WebhookDestination { /* private fields */ }Expand description
HTTP webhook export destination
Implementations§
Trait Implementations§
Source§impl ExportDestination for WebhookDestination
impl ExportDestination for WebhookDestination
fn export_data<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
filename: &'life2 str,
content_type: &'life3 str,
) -> Pin<Box<dyn Future<Output = RragResult<DestinationResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn destination_name(&self) -> &str
fn test_connection<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = RragResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for WebhookDestination
impl !RefUnwindSafe for WebhookDestination
impl Send for WebhookDestination
impl Sync for WebhookDestination
impl Unpin for WebhookDestination
impl !UnwindSafe for WebhookDestination
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