pub struct Benefits {
pub included_benefits: Vec<String>,
pub excluded_benefits: Vec<ExcludedBenefit>,
}Expand description
Benefits : Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC.
Fields§
§included_benefits: Vec<String>A list of included benefits.
excluded_benefits: Vec<ExcludedBenefit>A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation
Implementations§
Source§impl Benefits
impl Benefits
Sourcepub fn new(
included_benefits: Vec<String>,
excluded_benefits: Vec<ExcludedBenefit>,
) -> Benefits
pub fn new( included_benefits: Vec<String>, excluded_benefits: Vec<ExcludedBenefit>, ) -> Benefits
Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Benefits
impl<'de> Deserialize<'de> for Benefits
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
impl StructuralPartialEq for Benefits
Auto Trait Implementations§
impl Freeze for Benefits
impl RefUnwindSafe for Benefits
impl Send for Benefits
impl Sync for Benefits
impl Unpin for Benefits
impl UnsafeUnpin for Benefits
impl UnwindSafe for Benefits
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