pub struct FeePreview {
pub asin: Option<String>,
pub price: Option<Box<MoneyType>>,
pub fee_breakdown: Option<Vec<FeeLineItem>>,
pub total_fees: Option<Box<MoneyType>>,
pub errors: Option<Vec<Error>>,
}Expand description
FeePreview : The fee estimate for a specific item.
Fields
asin: Option<String>The Amazon Standard Identification Number (ASIN) value used to identify the item.
price: Option<Box<MoneyType>>fee_breakdown: Option<Vec<FeeLineItem>>A list of the Small and Light fees for the item.
total_fees: Option<Box<MoneyType>>errors: Option<Vec<Error>>One or more unexpected errors occurred during the getSmallAndLightFeePreview operation.
Implementations
sourceimpl FeePreview
impl FeePreview
sourcepub fn new() -> FeePreview
pub fn new() -> FeePreview
The fee estimate for a specific item.
Trait Implementations
sourceimpl Clone for FeePreview
impl Clone for FeePreview
sourcefn clone(&self) -> FeePreview
fn clone(&self) -> FeePreview
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FeePreview
impl Debug for FeePreview
sourceimpl Default for FeePreview
impl Default for FeePreview
sourcefn default() -> FeePreview
fn default() -> FeePreview
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FeePreview
impl<'de> Deserialize<'de> for FeePreview
sourcefn 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
sourceimpl PartialEq<FeePreview> for FeePreview
impl PartialEq<FeePreview> for FeePreview
sourcefn eq(&self, other: &FeePreview) -> bool
fn eq(&self, other: &FeePreview) -> bool
sourceimpl Serialize for FeePreview
impl Serialize for FeePreview
impl StructuralPartialEq for FeePreview
Auto Trait Implementations
impl RefUnwindSafe for FeePreview
impl Send for FeePreview
impl Sync for FeePreview
impl Unpin for FeePreview
impl UnwindSafe for FeePreview
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more