pub struct WebhookSampleDelivery {
pub timestamp: Option<String>,
pub events: Vec<Value>,
pub extra: HashMap<String, Value>,
}Expand description
One timestamped batch of synthetic events in a sample-payload response.
Fields§
§timestamp: Option<String>ISO timestamp for the sample.
events: Vec<Value>The events in this batch (each event is a free-form JSON object).
extra: HashMap<String, Value>Forward-compatible bucket.
Trait Implementations§
Source§impl Clone for WebhookSampleDelivery
impl Clone for WebhookSampleDelivery
Source§fn clone(&self) -> WebhookSampleDelivery
fn clone(&self) -> WebhookSampleDelivery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookSampleDelivery
impl Debug for WebhookSampleDelivery
Source§impl Default for WebhookSampleDelivery
impl Default for WebhookSampleDelivery
Source§fn default() -> WebhookSampleDelivery
fn default() -> WebhookSampleDelivery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSampleDelivery
impl<'de> Deserialize<'de> for WebhookSampleDelivery
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 WebhookSampleDelivery
impl PartialEq for WebhookSampleDelivery
Source§fn eq(&self, other: &WebhookSampleDelivery) -> bool
fn eq(&self, other: &WebhookSampleDelivery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookSampleDelivery
impl Serialize for WebhookSampleDelivery
impl StructuralPartialEq for WebhookSampleDelivery
Auto Trait Implementations§
impl Freeze for WebhookSampleDelivery
impl RefUnwindSafe for WebhookSampleDelivery
impl Send for WebhookSampleDelivery
impl Sync for WebhookSampleDelivery
impl Unpin for WebhookSampleDelivery
impl UnsafeUnpin for WebhookSampleDelivery
impl UnwindSafe for WebhookSampleDelivery
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