pub struct AllowanceEventMessage { /* private fields */ }Expand description
A recognized Allowance Event Message plus its redacted parse result.
Implementations§
Source§impl AllowanceEventMessage
impl AllowanceEventMessage
Sourcepub fn app_id(&self) -> Option<&PaykitAppId>
pub fn app_id(&self) -> Option<&PaykitAppId>
Access the source Paykit App attribution, when valid.
Sourcepub fn kind(&self) -> PrivateMessageKind
pub fn kind(&self) -> PrivateMessageKind
Access the recognized Private Message Kind.
Sourcepub fn parsed_event(&self) -> Option<&AllowanceEvent>
pub fn parsed_event(&self) -> Option<&AllowanceEvent>
Access the parsed event when validation succeeded.
Sourcepub fn validation_error(&self) -> Option<&str>
pub fn validation_error(&self) -> Option<&str>
Access the redacted validation error when validation failed.
Sourcepub fn event_id(&self) -> Option<&EventId>
pub fn event_id(&self) -> Option<&EventId>
Access the Event ID when the top-level value is a canonical UUID-v4.
Sourcepub fn allowance_id(&self) -> Option<&AllowanceId>
pub fn allowance_id(&self) -> Option<&AllowanceId>
Access the Allowance ID when the top-level value is a canonical UUID-v4.
Trait Implementations§
Source§impl Clone for AllowanceEventMessage
impl Clone for AllowanceEventMessage
Source§impl Debug for AllowanceEventMessage
impl Debug for AllowanceEventMessage
impl Eq for AllowanceEventMessage
Source§impl PartialEq for AllowanceEventMessage
impl PartialEq for AllowanceEventMessage
impl StructuralPartialEq for AllowanceEventMessage
Auto Trait Implementations§
impl Freeze for AllowanceEventMessage
impl RefUnwindSafe for AllowanceEventMessage
impl Send for AllowanceEventMessage
impl Sync for AllowanceEventMessage
impl Unpin for AllowanceEventMessage
impl UnsafeUnpin for AllowanceEventMessage
impl UnwindSafe for AllowanceEventMessage
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