pub struct OperationCustomerDisplay {
pub reference_code: Option<CustomerReferenceCode>,
}Expand description
Customer-facing display information for a payment operation.
JSON schema
{
"title": "Operation Customer Display",
"description": "Customer-facing display information for a payment operation.",
"examples": [
{
"referenceCode": "REF-ABC123"
}
],
"type": "object",
"properties": {
"referenceCode": {
"description": "A short customer-facing reference code for this payment operation.",
"examples": [
"REF-ABC123"
],
"allOf": [
{
"$ref": "#/components/schemas/CustomerReferenceCode"
}
]
}
}
}Fields§
§reference_code: Option<CustomerReferenceCode>A short customer-facing reference code for this payment operation.
Implementations§
Source§impl OperationCustomerDisplay
impl OperationCustomerDisplay
pub fn builder() -> OperationCustomerDisplay
Trait Implementations§
Source§impl Clone for OperationCustomerDisplay
impl Clone for OperationCustomerDisplay
Source§impl Debug for OperationCustomerDisplay
impl Debug for OperationCustomerDisplay
Source§impl Default for OperationCustomerDisplay
impl Default for OperationCustomerDisplay
Source§impl<'de> Deserialize<'de> for OperationCustomerDisplay
impl<'de> Deserialize<'de> for OperationCustomerDisplay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OperationCustomerDisplay> for OperationCustomerDisplay
impl From<&OperationCustomerDisplay> for OperationCustomerDisplay
Source§fn from(value: &OperationCustomerDisplay) -> Self
fn from(value: &OperationCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl From<OperationCustomerDisplay> for OperationCustomerDisplay
impl From<OperationCustomerDisplay> for OperationCustomerDisplay
Source§fn from(value: OperationCustomerDisplay) -> Self
fn from(value: OperationCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl Serialize for OperationCustomerDisplay
impl Serialize for OperationCustomerDisplay
Source§impl TryFrom<OperationCustomerDisplay> for OperationCustomerDisplay
impl TryFrom<OperationCustomerDisplay> for OperationCustomerDisplay
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OperationCustomerDisplay) -> Result<Self, ConversionError>
fn try_from(value: OperationCustomerDisplay) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OperationCustomerDisplay
impl RefUnwindSafe for OperationCustomerDisplay
impl Send for OperationCustomerDisplay
impl Sync for OperationCustomerDisplay
impl Unpin for OperationCustomerDisplay
impl UnsafeUnpin for OperationCustomerDisplay
impl UnwindSafe for OperationCustomerDisplay
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