pub struct PaymentRequestCancellation { /* private fields */ }Expand description
paykit.payment_request_cancellation Event Message.
Fields cannot be mutated after validated construction.
ⓘ
fn cannot_mutate(mut value: paykit_lib::PaymentRequestCancellation) {
value.version = 0;
}Implementations§
Source§impl PaymentRequestCancellation
impl PaymentRequestCancellation
Sourcepub fn kind(&self) -> PrivateMessageKind
pub fn kind(&self) -> PrivateMessageKind
Access the kind.
Sourcepub fn payment_request_id(&self) -> &PaymentRequestId
pub fn payment_request_id(&self) -> &PaymentRequestId
Access the Payment Request ID.
Trait Implementations§
Source§impl Clone for PaymentRequestCancellation
impl Clone for PaymentRequestCancellation
Source§impl Debug for PaymentRequestCancellation
impl Debug for PaymentRequestCancellation
impl Eq for PaymentRequestCancellation
impl StructuralPartialEq for PaymentRequestCancellation
Auto Trait Implementations§
impl Freeze for PaymentRequestCancellation
impl RefUnwindSafe for PaymentRequestCancellation
impl Send for PaymentRequestCancellation
impl Sync for PaymentRequestCancellation
impl Unpin for PaymentRequestCancellation
impl UnsafeUnpin for PaymentRequestCancellation
impl UnwindSafe for PaymentRequestCancellation
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