pub enum ProtocolRefKind {
AcpCheckoutSessionId,
AcpOrderId,
AcpDelegatePaymentId,
Ap2IntentMandateId,
Ap2CartMandateId,
Ap2PaymentMandateId,
Ap2PaymentReceiptId,
}Available on crate feature
payments only.Expand description
Describes a specific protocol reference slot in ProtocolRefs.
Variants§
AcpCheckoutSessionId
AcpOrderId
AcpDelegatePaymentId
Ap2IntentMandateId
Ap2CartMandateId
Ap2PaymentMandateId
Ap2PaymentReceiptId
Trait Implementations§
Source§impl Clone for ProtocolRefKind
impl Clone for ProtocolRefKind
Source§fn clone(&self) -> ProtocolRefKind
fn clone(&self) -> ProtocolRefKind
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 ProtocolRefKind
impl Debug for ProtocolRefKind
Source§impl PartialEq for ProtocolRefKind
impl PartialEq for ProtocolRefKind
Source§fn eq(&self, other: &ProtocolRefKind) -> bool
fn eq(&self, other: &ProtocolRefKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProtocolRefKind
impl StructuralPartialEq for ProtocolRefKind
Auto Trait Implementations§
impl Freeze for ProtocolRefKind
impl RefUnwindSafe for ProtocolRefKind
impl Send for ProtocolRefKind
impl Sync for ProtocolRefKind
impl Unpin for ProtocolRefKind
impl UnsafeUnpin for ProtocolRefKind
impl UnwindSafe for ProtocolRefKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.