pub struct AmountDetailsShippingParam {
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.
Implementations§
Trait Implementations§
Source§impl Clone for AmountDetailsShippingParam
impl Clone for AmountDetailsShippingParam
Source§fn clone(&self) -> AmountDetailsShippingParam
fn clone(&self) -> AmountDetailsShippingParam
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 AmountDetailsShippingParam
impl Debug for AmountDetailsShippingParam
Source§impl Default for AmountDetailsShippingParam
impl Default for AmountDetailsShippingParam
Auto Trait Implementations§
impl Freeze for AmountDetailsShippingParam
impl RefUnwindSafe for AmountDetailsShippingParam
impl Send for AmountDetailsShippingParam
impl Sync for AmountDetailsShippingParam
impl Unpin for AmountDetailsShippingParam
impl UnwindSafe for AmountDetailsShippingParam
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