#[non_exhaustive]pub struct UnknownWebhookEvent {
pub event: String,
pub id: String,
pub body: Value,
}Expand description
An event of a name this SDK does not know yet, kept as it was sent.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.event: StringThe event’s name.
id: StringThe id the body carries, or empty when it has none.
body: ValueThe whole body, decoded.
Trait Implementations§
Source§impl Clone for UnknownWebhookEvent
impl Clone for UnknownWebhookEvent
Source§impl Debug for UnknownWebhookEvent
impl Debug for UnknownWebhookEvent
Source§impl PartialEq for UnknownWebhookEvent
impl PartialEq for UnknownWebhookEvent
impl StructuralPartialEq for UnknownWebhookEvent
Auto Trait Implementations§
impl Freeze for UnknownWebhookEvent
impl RefUnwindSafe for UnknownWebhookEvent
impl Send for UnknownWebhookEvent
impl Sync for UnknownWebhookEvent
impl Unpin for UnknownWebhookEvent
impl UnsafeUnpin for UnknownWebhookEvent
impl UnwindSafe for UnknownWebhookEvent
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