pub struct TopUpCustomerDisplay {
pub merchant_name: String,
}Expand description
Display details resolved at creation and stored on the immutable Top-Up Link. These details are returned in the create response and creation webhook.
JSON schema
{
"description": "Display details resolved at creation and stored on the immutable Top-Up Link. These details are returned in the create response and creation webhook.",
"examples": [
{
"merchantName": "Example Merchant"
}
],
"type": "object",
"required": [
"merchantName"
],
"properties": {
"merchantName": {
"description": "The stored merchant name displayed on the hosted Top-Up page. This is the supplied name with surrounding whitespace removed, or the entity's profile name when no nonempty override was supplied. The stored name does not change when the entity's profile changes. The supplied-name length limit does not constrain the profile-name fallback.",
"examples": [
"Example Merchant"
],
"type": "string"
}
}
}Fields§
§merchant_name: StringThe stored merchant name displayed on the hosted Top-Up page. This is the supplied name with surrounding whitespace removed, or the entity’s profile name when no nonempty override was supplied. The stored name does not change when the entity’s profile changes. The supplied-name length limit does not constrain the profile-name fallback.
Implementations§
Source§impl TopUpCustomerDisplay
impl TopUpCustomerDisplay
pub fn builder() -> TopUpCustomerDisplay
Trait Implementations§
Source§impl Clone for TopUpCustomerDisplay
impl Clone for TopUpCustomerDisplay
Source§impl Debug for TopUpCustomerDisplay
impl Debug for TopUpCustomerDisplay
Source§impl<'de> Deserialize<'de> for TopUpCustomerDisplay
impl<'de> Deserialize<'de> for TopUpCustomerDisplay
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<&TopUpCustomerDisplay> for TopUpCustomerDisplay
impl From<&TopUpCustomerDisplay> for TopUpCustomerDisplay
Source§fn from(value: &TopUpCustomerDisplay) -> Self
fn from(value: &TopUpCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl From<TopUpCustomerDisplay> for TopUpCustomerDisplay
impl From<TopUpCustomerDisplay> for TopUpCustomerDisplay
Source§fn from(value: TopUpCustomerDisplay) -> Self
fn from(value: TopUpCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl Serialize for TopUpCustomerDisplay
impl Serialize for TopUpCustomerDisplay
Source§impl TryFrom<TopUpCustomerDisplay> for TopUpCustomerDisplay
impl TryFrom<TopUpCustomerDisplay> for TopUpCustomerDisplay
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TopUpCustomerDisplay) -> Result<Self, ConversionError>
fn try_from(value: TopUpCustomerDisplay) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TopUpCustomerDisplay
impl RefUnwindSafe for TopUpCustomerDisplay
impl Send for TopUpCustomerDisplay
impl Sync for TopUpCustomerDisplay
impl Unpin for TopUpCustomerDisplay
impl UnsafeUnpin for TopUpCustomerDisplay
impl UnwindSafe for TopUpCustomerDisplay
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