pub struct GovernedCommerceReceiptMetadata {
pub seller: String,
pub shared_payment_token_id: String,
}Expand description
Commerce approval evidence attached to a governed-transaction receipt block.
Fields§
§seller: StringSeller or payee identifier the approval was scoped to.
Shared payment token or equivalent external commerce approval reference.
Trait Implementations§
Source§impl Clone for GovernedCommerceReceiptMetadata
impl Clone for GovernedCommerceReceiptMetadata
Source§fn clone(&self) -> GovernedCommerceReceiptMetadata
fn clone(&self) -> GovernedCommerceReceiptMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GovernedCommerceReceiptMetadata
impl<'de> Deserialize<'de> for GovernedCommerceReceiptMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedCommerceReceiptMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedCommerceReceiptMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GovernedCommerceReceiptMetadata
impl PartialEq for GovernedCommerceReceiptMetadata
Source§fn eq(&self, other: &GovernedCommerceReceiptMetadata) -> bool
fn eq(&self, other: &GovernedCommerceReceiptMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GovernedCommerceReceiptMetadata
impl Serialize for GovernedCommerceReceiptMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for GovernedCommerceReceiptMetadata
impl StructuralPartialEq for GovernedCommerceReceiptMetadata
Auto Trait Implementations§
impl Freeze for GovernedCommerceReceiptMetadata
impl RefUnwindSafe for GovernedCommerceReceiptMetadata
impl Send for GovernedCommerceReceiptMetadata
impl Sync for GovernedCommerceReceiptMetadata
impl Unpin for GovernedCommerceReceiptMetadata
impl UnsafeUnpin for GovernedCommerceReceiptMetadata
impl UnwindSafe for GovernedCommerceReceiptMetadata
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