pub struct Verified { /* private fields */ }Expand description
Webhook payload that passed signature validation and required entity/event checks.
Implementations§
Source§impl Verified
impl Verified
Sourcepub fn event_type(&self) -> EventType
pub fn event_type(&self) -> EventType
Returns the normalized Gingr event type for a verified webhook.
Sourcepub fn entity_id(&self) -> &EntityId
pub fn entity_id(&self) -> &EntityId
Returns the provider entity identifier from the verified webhook.
Sourcepub fn entity_type(&self) -> EntityType
pub fn entity_type(&self) -> EntityType
Returns the normalized Gingr entity type for a verified webhook.
Trait Implementations§
impl StructuralPartialEq for Verified
Auto Trait Implementations§
impl Freeze for Verified
impl RefUnwindSafe for Verified
impl Send for Verified
impl Sync for Verified
impl Unpin for Verified
impl UnsafeUnpin for Verified
impl UnwindSafe for Verified
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