pub struct CustomTextParam {
pub after_submit: Option<CustomTextPositionParam>,
pub shipping_address: Option<CustomTextPositionParam>,
pub submit: Option<CustomTextPositionParam>,
pub terms_of_service_acceptance: Option<CustomTextPositionParam>,
}Fields§
§after_submit: Option<CustomTextPositionParam>Custom text that should be displayed after the payment confirmation button.
shipping_address: Option<CustomTextPositionParam>Custom text that should be displayed alongside shipping address collection.
submit: Option<CustomTextPositionParam>Custom text that should be displayed alongside the payment confirmation button.
terms_of_service_acceptance: Option<CustomTextPositionParam>Custom text that should be displayed in place of the default terms of service agreement text.
Implementations§
Trait Implementations§
Source§impl Clone for CustomTextParam
impl Clone for CustomTextParam
Source§fn clone(&self) -> CustomTextParam
fn clone(&self) -> CustomTextParam
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 Debug for CustomTextParam
impl Debug for CustomTextParam
Source§impl Default for CustomTextParam
impl Default for CustomTextParam
Source§impl PartialEq for CustomTextParam
impl PartialEq for CustomTextParam
Source§impl Serialize for CustomTextParam
impl Serialize for CustomTextParam
impl Eq for CustomTextParam
impl StructuralPartialEq for CustomTextParam
Auto Trait Implementations§
impl Freeze for CustomTextParam
impl RefUnwindSafe for CustomTextParam
impl Send for CustomTextParam
impl Sync for CustomTextParam
impl Unpin for CustomTextParam
impl UnsafeUnpin for CustomTextParam
impl UnwindSafe for CustomTextParam
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