pub struct PaymentFlowsAmountDetailsResourceShipping {
pub amount: Option<i64>,
pub from_postal_code: Option<String>,
pub to_postal_code: Option<String>,
}Fields§
§amount: Option<i64>If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0.
from_postal_code: Option<String>If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
to_postal_code: Option<String>If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
Trait Implementations§
Source§impl Clone for PaymentFlowsAmountDetailsResourceShipping
impl Clone for PaymentFlowsAmountDetailsResourceShipping
Source§fn clone(&self) -> PaymentFlowsAmountDetailsResourceShipping
fn clone(&self) -> PaymentFlowsAmountDetailsResourceShipping
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 FromValueOpt for PaymentFlowsAmountDetailsResourceShipping
impl FromValueOpt for PaymentFlowsAmountDetailsResourceShipping
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentFlowsAmountDetailsResourceShipping
impl RefUnwindSafe for PaymentFlowsAmountDetailsResourceShipping
impl Send for PaymentFlowsAmountDetailsResourceShipping
impl Sync for PaymentFlowsAmountDetailsResourceShipping
impl Unpin for PaymentFlowsAmountDetailsResourceShipping
impl UnwindSafe for PaymentFlowsAmountDetailsResourceShipping
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