pub struct TopUpCustomerDisplayInput {
pub merchant_name: Option<TopUpCustomerDisplayInputMerchantName>,
}Expand description
Display details supplied for the hosted Top-Up page. Only the merchant name is supported. Unrecognized fields are allowed and ignored.
JSON schema
{
"description": "Display details supplied for the hosted Top-Up page. Only the merchant name is supported. Unrecognized fields are allowed and ignored.",
"examples": [
{
"merchantName": "Example Merchant"
}
],
"type": "object",
"properties": {
"merchantName": {
"description": "The merchant name to display on the hosted Top-Up page. The limit counts Unicode code points in the supplied value, including surrounding whitespace. Surrounding whitespace is removed before storage. When omitted or empty after trimming, the entity's profile name is used.",
"examples": [
"Example Merchant"
],
"type": "string",
"maxLength": 128
}
}
}Fields§
§merchant_name: Option<TopUpCustomerDisplayInputMerchantName>The merchant name to display on the hosted Top-Up page. The limit counts Unicode code points in the supplied value, including surrounding whitespace. Surrounding whitespace is removed before storage. When omitted or empty after trimming, the entity’s profile name is used.
Implementations§
Source§impl TopUpCustomerDisplayInput
impl TopUpCustomerDisplayInput
pub fn builder() -> TopUpCustomerDisplayInput
Trait Implementations§
Source§impl Clone for TopUpCustomerDisplayInput
impl Clone for TopUpCustomerDisplayInput
Source§impl Debug for TopUpCustomerDisplayInput
impl Debug for TopUpCustomerDisplayInput
Source§impl Default for TopUpCustomerDisplayInput
impl Default for TopUpCustomerDisplayInput
Source§impl<'de> Deserialize<'de> for TopUpCustomerDisplayInput
impl<'de> Deserialize<'de> for TopUpCustomerDisplayInput
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<&TopUpCustomerDisplayInput> for TopUpCustomerDisplayInput
impl From<&TopUpCustomerDisplayInput> for TopUpCustomerDisplayInput
Source§fn from(value: &TopUpCustomerDisplayInput) -> Self
fn from(value: &TopUpCustomerDisplayInput) -> Self
Converts to this type from the input type.
Source§impl From<TopUpCustomerDisplayInput> for TopUpCustomerDisplayInput
impl From<TopUpCustomerDisplayInput> for TopUpCustomerDisplayInput
Source§fn from(value: TopUpCustomerDisplayInput) -> Self
fn from(value: TopUpCustomerDisplayInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TopUpCustomerDisplayInput> for TopUpCustomerDisplayInput
impl TryFrom<TopUpCustomerDisplayInput> for TopUpCustomerDisplayInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TopUpCustomerDisplayInput) -> Result<Self, ConversionError>
fn try_from(value: TopUpCustomerDisplayInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TopUpCustomerDisplayInput
impl RefUnwindSafe for TopUpCustomerDisplayInput
impl Send for TopUpCustomerDisplayInput
impl Sync for TopUpCustomerDisplayInput
impl Unpin for TopUpCustomerDisplayInput
impl UnsafeUnpin for TopUpCustomerDisplayInput
impl UnwindSafe for TopUpCustomerDisplayInput
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